X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/915d362b11ea49c6f377c223f3eb78c7e422ea28..ab9202b1c2de078822756d447e450610f0815692:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index bc81bced..af3262f9 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -18,7 +18,7 @@ class Geocode protected $aLangPrefOrder = array(); protected $aExcludePlaceIDs = array(); - protected $bReverseInPlan = false; + protected $bReverseInPlan = true; protected $iLimit = 20; protected $iFinalLimit = 10; @@ -770,7 +770,7 @@ class Geocode } } - if ($iQueryLoop > 20) break; + //if ($iQueryLoop > 20) break; } if (!empty($aResults)) { @@ -842,8 +842,8 @@ class Geocode } if (!empty($aResults)) break; - if ($iGroupLoop > 4) break; - if ($iQueryLoop > 30) break; + //if ($iGroupLoop > 4) break; + //if ($iQueryLoop > 30) break; } } else { // Just interpret as a reverse geocode