NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

What are the tools and methods to sucessfully import map data from a .dwg file to OpenStreetMap?

asked 30 Jul '10, 17:28

vgeorge's gravatar image

vgeorge
2014610
accept rate: 0%


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.

permanent link

answered 30 Jul '10, 23:55

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 02 Dec '10, 12:59

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128

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.

permanent link

answered 20 May '18, 20:30

rurban's gravatar image

rurban
1
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×196
×35
×16
×7
×7

question asked: 30 Jul '10, 17:28

question was seen: 15,268 times

last updated: 20 May '18, 20:30

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum