Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

How can i do that ? On Linux or Windows ? The more simplest variant, if it exists.

.osm.pbf it`s the extension for Openstreetmap extract that i get from a site that takes dayly extracts from osm: http://download.geofabrik.de/

share|improve this question

3 Answers 3

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

share|improve this answer

You can also get the shapefile versions of the extracts. That way you won't have to convert anything. enter image description here

share|improve this answer
Please consider that the provided shapefiles only have a subset of the whole OSM data of the area. If you are interested in very special data, you have to fill the complete OSM data into a PostgreSQL database. –  AndreJ Nov 2 '12 at 5:49

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.

share|improve this answer
This is the way I do it. The ogr configuration file osmconf.ini can be edited to select or deselect the OSM keys that will be reported as fields in the database. –  nhopton Dec 3 '14 at 9:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.