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

How to detect place name (city/village etc) for a building (with street and building name) when name for area/boundary with admin_level = 8 is missing?

0

I did a quick query on imported data (Europe) for administrative boundaries and I see all the admin boundaries up to level 7 have name tag provided for the area (with one exception only for relation 1727384, that has no such "name" tag).

The issue is with admin_level = 8 boundaries, because 1448 boundaries have no such name (but 105652 areas on level 8 has such name provided). Admin level 8 is a city or a village boundary for instance.

Sample: The relation with ID 6071056 has no name, but has admin_centre node with name,
relation 5164506 has no name, but has some node inside this area with addr: and name tags.

In case of missing name tags for admin_level=8 areas should I look for any node inside such area with addr tags, or maybe there is some better idea to fix missing area names?

asked 22 Jul '16, 11:44

stalek's gravatar image

stalek
31335
accept rate: 0%

edited 22 Jul '16, 11:59

Source code available on GitHub .