What are the tools and methods to sucessfully import map data from a .dwg file to OpenStreetMap? asked 30 Jul '10, 17:28 vgeorge |
The first rule of imports is: If you have to ask - don't do it. Seriously, imports are difficult for a number of reasons. Firstly, not every import makes sense; for example, if it is third-party data which is well and actively maintained then importing the data into OSM will create a reduced-quality clone (because the data will not be updated when the original source updates). Or if the data is of a kind that cannot be sensibly improved by the community, like official boundaries or airspaces or building floor plans - that's also something that has very little reason to be in OSM. It is important to remember that OSM is a community mapping platform; data not meant for editing should not be in OSM. Secondly, even if the data is good and suitable, imports can discourage people from getting engaged (because the map looks complete). This is a problem we're seeing in some areas where imports have boosted the data but not the community. Andy Allan has an excellent parable about imports, The Pottery Club, and Matt Amos has run an interesting simulation that aims to illustrate the effect of imports on community growth. Thirdly, doing imports properly requires a lot of knowledge. You have to select the right tagging, you have to make sure your data does not collide with anything that is already there, you have to make sure that adjacent polygons don't unnecessarily duplicate nodes, and so on. Some of these challenges can be solved by good importing software, some cannot. The second rule of imports is: Even if you find a program that seemingly does what you want, never try to run an import if you don't know exactly what the program does, and if you don't know exactly how to undo your import if something should go wrong. Any import needs to be well planned, needs to be discussed with the community, and professionally executed. The usual credo of "something is better than nothing", which we often use when surveying, does not apply to imports. There is a high risk of imports actually damaging the project rather than being of use. There is a piece of software that seems to read dxf files and create osm files, but it is seldom used and I have no idea whether or not this would work for your data set: http://github.com/h4ck3rm1k3/TwoNickels Be sure to discuss your plans on the "imports" mailing list before you do anything. answered 30 Jul '10, 23:55 Frederik Ramm ♦ Harry Wood 1
Closed source CAD software might be necessary to convert DWG (Drawing) to DFX (Drawing File Exchange) formats, depending on the version of CAD used to generate the original file.
(03 Aug '10, 07:59)
Skippern
|
Ad "Closed source CAD software": You can use GNU LibreDWG to read or write DWG or DXF files. I'm the maintainer of it, and I'm interested to create an automatic filter to ease the conversion from DWG (i.e. closed commercial GIS systems) to OpenStreetMap. answered 20 May '18, 20:30 rurban |