From: Sarah Hoffmann Date: Mon, 12 Oct 2020 12:17:37 +0000 (+0200) Subject: increase radius of influence around city nodes X-Git-Tag: v3.6.0~52^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/887ae7fcabb4ce60841923643d00f641b592c0ef?hp=--cc increase radius of influence around city nodes The current radius does not cover cities with more than a million inhabitants well. --- 887ae7fcabb4ce60841923643d00f641b592c0ef diff --git a/sql/functions/utils.sql b/sql/functions/utils.sql index 9f8d3988..ae841bf2 100644 --- a/sql/functions/utils.sql +++ b/sql/functions/utils.sql @@ -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