This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Importing only items with certain Tags into QGIS

1

I want to load only certain elements from the .osm file into QGIS, say all elements with tags Tag:amenity=pub.

How can that be done? Using the OSM plugin for QGIS to "Load from File" causes it to load everything and makes QGIS non-responsive.

asked 03 Apr '13, 23:07

nyxynyx's gravatar image

nyxynyx
16557
accept rate: 0%


2 Answers:

1

answered 04 Apr '13, 01:29

amritkarma's gravatar image

amritkarma
684212941
accept rate: 11%

edited 15 Nov '13, 08:05

1

Have a look at the OSM wiki about osmfilter

And if you are really working with the OSM-import-plugin from QGIS; be aware that it cannot handle OSM objects with 64bit long identifiers, see hint at QGIS_OSM_Plugin

answered 04 Apr '13, 16:44

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Source code available on GitHub .