increase radius of influence around city nodes

The current radius does not cover cities with more than a
million inhabitants well.
This commit is contained in:
Sarah Hoffmann 2020-10-12 14:17:37 +02:00
parent abaaf942cb
commit 887ae7fcab

View File

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