]> git.openstreetmap.org Git - nominatim.git/commit
demote place nodes in admin areas
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 7 Oct 2020 15:33:52 +0000 (17:33 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 11 Oct 2020 10:04:53 +0000 (12:04 +0200)
commitb04463bb2d522d37de3ac4e56f2553144ff83604
tree7eaf37135c43696a1022c4affb799b00b3b61862
parentc66f7012321f05e06532033a805c40572cd08fa3
demote place nodes in admin areas

If a place node of city rank and above finds itself in an
administrative boundary of the same address rank, then
increase the address rank by 2. This catches the rather
frequent case where city suburbs are tagged for historical
reasons as towns or villages.
sql/functions/placex_triggers.sql