Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 2 down vote accepted

The new GDAL Version 1.10 supports Openstreetmap data:

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

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? – Cheshire Cat 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. – AndreJ May 10 '13 at 11:35

Your Answer


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.