[gdal-dev] OGR OSM-driver unable to open datasource

Ulrich Strötz ustroetz at gmail.com
Sun Apr 14 13:12:29 PDT 2013


I want to read an OSM file with OGR. I use Version GDAL 1.9.1, released 2012/05/15.

To read a SQLITE file works fine:

$ ogrinfo test.sqlite
INFO: Open of `test.sqlite'
      using driver `SQLite' successful.
1: aaa (Point)
When I try to read a OSM File it fails to open the datasource:

$ ogrinfo test.osm
FAILURE:
Unable to open datasource `test.osm' with the following drivers.
  -> ESRI Shapefile
  -> MapInfo File
  ...
The OSM file itself is not broken (I opened it in QGIS).

What am I doing wrong?

Thanks,

Uli


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130414/b5d32b8e/attachment.html>


More information about the gdal-dev mailing list