3

I need to import some OSM data about a region of Italy into a SHP file or Postgres DB, possibly with batch process.

I already use OGR2OGR to batch import data from SHP to Oracle and Postgres and I know that the tool supports many other formats. I would like to know where I can find a compiled version of OGR2OGR that support OSM/PBF data and how I should use it.

I was looking at FWTools but on the site documentation I cannot see anything about OSM/PBF support.

1 Answer 1

3

The new GDAL Version 1.10 supports Openstreetmap data:

http://www.gdal.org/ogr/drv_osm.html

If you are on Windows, you can get GDAL 1.10 precompiled from Link.

OSGeo4W does not yet have the 1.10 version.

2
  • Thank you! I'll give it a try. Do I have to download the x64 version as I'm on Windows 7 x64 or does the x86 work right anyway? Commented May 10, 2013 at 10:09
  • I am not sure if and how 64bit GDAL works with a 32-bit Postgres Database. Apart from that I would suggest the x64 version; it might run faster and without some Gigabyte limits.
    – AndreJ
    Commented May 10, 2013 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.