]> git.openstreetmap.org Git - nominatim.git/commit
use centroid for near feature search on rank 30
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Apr 2017 21:12:35 +0000 (23:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 9 Apr 2017 21:12:35 +0000 (23:12 +0200)
commit8138729aea652acd1c9148df9d9318cbfb9c4da2
treef556ea73211503ef067c0eb74fd923556140fc0a
parent43eedfd25371f9c50a2418ee6de0435b4469a85c
use centroid for near feature search on rank 30

Rank 30 has some very large geometries (peninsulas, time zones,
etc.) for which a near feature search for the full geometry is
too expensive, so do the search on the centroid only.
sql/functions.sql