[gdal-dev] Re: open street map
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Mon Aug 4 01:54:28 EDT 2008
Martin Spott <Martin.Spott <at> mgras.net> writes:
>
> nicholas.g.lawrence <at> mainroads.qld.gov.au wrote:
>
> > Can gdal handle an open street map file (*.osm)?
>
> I suspect this is not the case, but several people offer OSM data in
> Shapefile or other formats. If you're just looking for the most road,
> rail and waterway layers, then you might find what you're looking for
> at this page:
>
> http://mapserver.flightgear.org/download.psp
>
> The OSM data at this DB is typically updated twice a month,
Another source for ready made shapefiles is http://download.geofabrik.de/osm
If you use PostGIS then quite a good way for translating OSM data to other
formats or publish it through MapServer is to import the data fist to PostGIS
with osm2pgsql utility. Source code for Linus users is here:
http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql
Windows version (not up to date, but works) can be found here:
http://artem.dev.openstreetmap.org/files/
It would be nice to have a direct GDAL driver for OSM data, though.
-Jukka Rahkonen-
More information about the gdal-dev
mailing list