Load .osm.pbf File in QGIS – OpenStreetMap Data Import Guide

importopenstreetmappbfqgis

.osm.pbf it`s the extension for OpenStreetMap extract that I get from a site that takes daily extracts from OSM: http://download.geofabrik.de/

How to import these files in QGIS (on Linux or Window)?

Best Answer

QGIS is now able to read .pbf files with Add vector layer, but the data size will most probably kill QGIS with most of the available files.

Try ogr2ogr -f SQLite my.sqlite some.pbf in the OSGEO4W shell to convert the pbf into a spatialite database, and connect to that in QGIS.

You might want to switch to the data folder or use full paths to access the files.

Related Question