]> git.openstreetmap.org Git - nominatim.git/commit
demote admin boundaries for place areas
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Oct 2020 09:33:47 +0000 (11:33 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Oct 2020 09:33:47 +0000 (11:33 +0200)
commit7e9412a044b616c036c632d231b29c18cee7720a
tree3c85e893b6ed4de2144834813dfdd5e1bb1a1a0a
parente47c19beb94c9f7f1fbff1ba7b89a04cb0759ed3
demote admin boundaries for place areas

Also demote the address rank of an admin boundary when there
is a place area of higher rank that completely contains the
area. This catches the case where city boundaries do not exactly
align with administrative units (see for example Moscow).
sql/functions/placex_triggers.sql