]> git.openstreetmap.org Git - nominatim.git/commit
preserve admin level hierarchy between admin boundaries
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Jul 2020 20:15:25 +0000 (22:15 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Jul 2020 20:15:25 +0000 (22:15 +0200)
commit6a3eb7edf20ff45bb216fddf7e6bb6105f1a1b13
treeecb417e2ed713d2b7104e724c6abb54f0e08ca2a
parent0a710c0762ceb432433f9ceedbd2ce1e948ac38c
preserve admin level hierarchy between admin boundaries

When the address rank of an admin boundary is changed because
of an attached place type, it may happen that the admin_level
hierarchy gets inversed. Avoid that by adjusting the address
rank if an inversion is detected.
sql/functions/placex_triggers.sql