mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-10-27 03:29:24 +03:00
increase initial search radius for reverse lookups
On the osm.org instance, this saves 2 psql queries for about 87% of reverse requests consequently increasing throughput significantly. A lower value might make sense if an instance is used only in areas with very high mapping density but for standard usage this one should be better suited.
This commit is contained in:
parent
ff61b90baf
commit
463ef857c8
@ -75,7 +75,7 @@
|
||||
$iMaxRank = (isset($_GET['zoom']) && isset($aZoomRank[$_GET['zoom']]))?$aZoomRank[$_GET['zoom']]:28;
|
||||
|
||||
// Find the nearest point
|
||||
$fSearchDiam = 0.0001;
|
||||
$fSearchDiam = 0.0004;
|
||||
$iPlaceID = null;
|
||||
$aArea = false;
|
||||
$fMaxAreaDistance = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user