]> git.openstreetmap.org Git - nominatim.git/commit
restrict size of features that get a full address search
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 26 Nov 2020 10:53:58 +0000 (11:53 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 26 Nov 2020 10:53:58 +0000 (11:53 +0100)
commit2db751700e6b1872fd9f65fa725b59d00ee993c2
tree669bb23de81e3faee86664913e30a550bde489b7
parent1f07d63dc5a043c44faa478f418c38455cc6dd75
restrict size of features that get a full address search

It would be nice to always compute addresses for rank 0 objects
over the complete geometry, so that they can be found via all
the admin boundaries that they intersect. However, there are a
couple of extramely large boundaries in OSM (like timezones)
where this results in thousands of possible address candidates
that need to be checked. Fall back to getting the address of the
centroid for them.
sql/functions/placex_triggers.sql