]> git.openstreetmap.org Git - nominatim.git/commit
parents for large POIs must be address features
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 3 Jun 2020 09:30:51 +0000 (11:30 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 3 Jun 2020 09:30:51 +0000 (11:30 +0200)
commitcffc7c0121a2d98bff9bafbc45f1fc1b7c1239e7
tree715bde8b6f20d4bef694065cc3f73d29e7c85ee9
parentd89000cc3de6ecdca64e87c05836f6d4cc25b7d1
parents for large POIs must be address features

There are a couple of places with a search rank < 25 which are
not addressable like waterways and islands. We don't want them
to function as parents for POI-level objects. So use the
address rank for finding parents, not the search rank.

See #1815.
sql/functions/placex_triggers.sql