Load .osm.pbf file in Qgis

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.


the openstreetmap plugin (current version 0.5) only reads osm-files , but there is a commandline-convert (both for linux as well as for windows. I only tried windows), which can convert *.pbf to *.osm. these converted osm can be importet into qgis via openstreetmapplugin

url for converter: http://wiki.openstreetmap.org/wiki/Osmconvert