Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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 http://www.gisinternals.com/sdk/.

OSGeo4W does not yet have the 1.10 version.

share|improve this answer
    
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? –  RainbowCoder May 10 '13 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. –  Andre Joost May 10 '13 at 11:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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