mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 13:44:36 +03:00
tweak size of large POIs
Further reduce the size from which on POIs are no longer bound to streets but only to larger objects. The point of reference, of what a largest POI could be that is still bound is JFK airport.
This commit is contained in:
parent
fae02fab00
commit
07430b0194
@ -92,7 +92,7 @@ BEGIN
|
||||
END IF;
|
||||
|
||||
IF fallback THEN
|
||||
IF ST_Area(bbox) < 0.01 THEN
|
||||
IF ST_Area(bbox) < 0.005 THEN
|
||||
-- for smaller features get the nearest road
|
||||
SELECT getNearestRoadPlaceId(poi_partition, bbox) INTO parent_place_id;
|
||||
--DEBUG: RAISE WARNING 'Checked for nearest way (%)', parent_place_id;
|
||||
|
Loading…
Reference in New Issue
Block a user