mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 14:02:12 +03:00
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:
parent
abaaf942cb
commit
887ae7fcab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user