[gdal-dev] OGR OSM-driver unable to open datasource
Tyler Mitchell
Tyler.Mitchell at actian.com
Sun Apr 14 14:31:19 PDT 2013
ogrinfo --formats
Should tell all too :)
On 2013-04-14, at 1:17 PM, "Even Rouault" <even.rouault at mines-paris.org> wrote:
> Le dimanche 14 avril 2013 22:12:29, Ulrich Strötz a écrit :
>> 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?
>
> You are just not using the appropriate GDAL version ;-) The OSM driver is new
> to GDAL/OGR 1.10.0, which should be released within a few days. You can try
> the RC2 by the way : http://download.osgeo.org/gdal/gdal-1.10.0RC2.tar.gz
>
>>
>> Thanks,
>>
>> Uli
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list