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

[closed] QGIS import osm data via OSM-plugin and sqlite does not only import selected tags

0

Hello,

I have the following problem: I want to use the OSM plugin to import data from a sqlite database that contains OSM data. In the 'Export OSM topolgy to spatialite' dialog I choose the database file and the polygon geometry. Then I click the 'Exported tags' button. This shows me the list of tags together with the count of features. In my case, I select admin_level, which has 267 features. Now I press ok. After the export, I would expect that only 267 features are inserted in the added layer. But when I check the feature count of the new layer it has about 52000 tags, which is pretty much every polygon. When I had a look at the attribute table the admin_level field has the value NULL for every feature.

So, I'm not sure what I'm missing here. Any help or advice is appreciated.

Torsten.

asked 23 Sep '15, 16:02

tfonline's gravatar image

tfonline
1111
accept rate: 0%

closed 23 Sep '15, 21:22

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Questions about QGIS are better asked at http://gis.stackexchange.com.

(23 Sep '15, 16:27) scai ♦

thanks, I will repost the question there

(23 Sep '15, 21:16) tfonline

The question has been closed for the following reason “moved to SE (avoiding duplicate work)” by aseerel4c26 23 Sep ‘15, 21:22

Source code available on GitHub .