[mapguide-internals] MapGuide OSM Sample Project

Traian Stanev traian.stanev at autodesk.com
Sat Mar 27 11:59:41 EDT 2010


A while back I started on some code to convert OSM data to FDO. I didn't finish coding it though, but I did get to the stage of parsing the XML and inserting a desired subset of attributes from it into a temporary SQLite database, which my plan was to convert to FDO SQLite format using a second conversion step (which would further classify the raw topology data, so you get a table for streets, a table for buildings, etc.)

One piece of advice -- if you ever do this, use a custom stream reader which reads directly from the ZIP file using zlib and passes the decoded memory stream to your XML parser (I used libxml++, a lot better than Xerces IMO). This way you don't have to unzip the whole thing, and use up 120 Gigs on your drive.

Traian


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel
Sent: Saturday, March 27, 2010 11:30 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide OSM Sample Project

Hi Zac,

I just did a bit of a pan around www.openstreetmap.org.  Oh boy.

- World wide coverage
- Multiple languages (English, Russian, Arabic, Mandarin, other..)
- Street level detail for Canada, USA, Europe, Russia, and more
- Points of interest, building footprints in some area
- The full dataset in OSM XML is a 13GB bzip compressed image

The data is also covered under a non-restrictive license.

Great suggestion.  This is an impressive dataset.  Anyone want to download it and convert it to SDF?  I wonder if download.osgeo.org would let us post the whole dataset?

Regards,
Trevor

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: March 26, 2010 9:54 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] MapGuide OSM Sample Project

Hey everyone,

I think it's high time we have a global OSM mapguide sample

http://code.google.com/p/mapguide-osm

who's interested in helping author a MGP for sample based off OSM data?

z

-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals



More information about the mapguide-internals mailing list