How to install OSM .pbf support in GDAL on Debian?

المشرف العام

Administrator
طاقم الإدارة
I'm trying to use Anita Graser's post on loading OSM data from .PBF files into a SQLite .db file using ogr2ogr but it stopped working.

Trying to run the following command:

ogr2ogr -f "SQLite" -dsco SPATIALITE=YES Denver_OSM_Test.db denver.pbf...yields the following error:

Unable to open datasource `denver.pbf' [list of drivers]

I have installed the prerequisites:

  • libsqlite3
  • libexpat
Then tried to re-install GDAL both from source, and from Sara's instructions which pull from the UbuntuGIS project.



أكثر...
 
أعلى