> From: Ævar Arnfjörð Bjarmason [mailto:[email protected]] > Sent: Monday, October 08, 2012 2:19 AM > To: OpenStreetMap Imports; OpenStreetMap in Iceland > Subject: [Imports] We have some provided data in *.dwg and *.dgn formats > that we need help converting > > The Icelandic OpenStreetMap community has recently received donated data > from a couple of municipalities (with more coming) in *.dwg and *.dgn > formats: > > https://github.com/avar/osm-is-provided-data/tree/master/original- > data/ > > Has anyone here converted these formats before into *.osm and would be > able to provide us with a one-time conversion of these files, and > possibly of more files coming in the future?
I would suggest asking for the data as .dxf or .shp - it would make everything easier. An import is a somewhat technical matter and there's not really a way to avoid this message getting into technical details. If you got the data as dxf or shp some of these difficulties would go away, but not all of them. That being said, if you can't get it in one of these formats ogr can read dwg[1] and dgn[2]. You'd have to find out what projection the files are in (some UTM maybe?). To convert a shapefile (or dxf, dwg, dng, etc) to osm requires you to convert the tagging. This requires knowledge of the local area. I am doing a presentation on this at SOTM-US 2012 in a week as it happens. ogr2osm[3] can convert easily enough, but it doesn't solve the two issues above for you. I could covert the .dwg to another format for you but I'd need to know the coordinate system. I had a look at the .dwg files (dwg to dxf conversion with solidworks, ogr2osm with dummy coordinate system) and honestly, the data doesn't seem suitable for use. The data looks like someone took an Adobe Illustrator file and georeferenced it. The roads are areas with no centerlines, the labels are text not attached to anything and there are other signs that it's not really geodata but just data designed for display. A better option might be to render the files and trace over them. If you do go ahead and want to import this and can solve these problems make sure to read, understand and follow http://wiki.openstreetmap.org/wiki/Import/Guidelines [1]: http://www.gdal.org/ogr/drv_dwg.html [2]: http://www.gdal.org/ogr/drv_dgn.html [3]: http://wiki.openstreetmap.org/wiki/Ogr2osm _______________________________________________ Imports mailing list [email protected] http://lists.openstreetmap.org/listinfo/imports
