]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase radius of influence around city nodes
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 12 Oct 2020 12:17:37 +0000 (14:17 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 12 Oct 2020 12:17:37 +0000 (14:17 +0200)
The current radius does not cover cities with more than a
million inhabitants well.

sql/functions/utils.sql

index 9f8d39889e1412be3db33a721595c9ba721beda9..ae841bf25d23346b9780a3a12e4ee93526877f95 100644 (file)
@@ -277,7 +277,7 @@ CREATE OR REPLACE FUNCTION near_feature_rank_distance(rank_search INTEGER)
   AS $$
 BEGIN
   IF rank_search <= 16 THEN -- city
-    RETURN 7500;
+    RETURN 15000;
   ELSIF rank_search <= 18 THEN -- town
     RETURN 4000;
   ELSIF rank_search <= 19 THEN -- village