mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
use different area estimates for large countries
This commit is contained in:
@@ -909,7 +909,7 @@ BEGIN
|
||||
END IF;
|
||||
|
||||
IF NEW.rank_address = 0 THEN
|
||||
max_rank := geometry_to_rank(NEW.rank_search, NEW.geometry);
|
||||
max_rank := geometry_to_rank(NEW.rank_search, NEW.geometry, NEW.country_code);
|
||||
ELSEIF NEW.rank_address > 25 THEN
|
||||
max_rank := 25;
|
||||
ELSE
|
||||
|
||||
Reference in New Issue
Block a user