]> git.openstreetmap.org Git - nominatim.git/commit
detect and remove admin boundary duplicates
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 20 Oct 2020 21:26:44 +0000 (23:26 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 28 Oct 2020 09:49:26 +0000 (10:49 +0100)
commit7a1690921959ea8fc24574a6453598439a73085d
treec6897f44070789ffb441472c7ab1954de37c5ff7
parentee4684e6a9ae532e3097de7e0f7104fc825799af
detect and remove admin boundary duplicates

The Polish community maps admin boundaries that span multiple
levels by duplicating the boundary relations. Detect this situation
by looking out for matching wikidata tags. The higher ranked
duplicates are then thrown out from the address pool by setting
their address rank to 0.
sql/functions/placex_triggers.sql
test/bdd/db/import/rank_computation.feature