X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8d7eb9da6656fee0d924a5a2f5a5caf0671a9a41..218beeb03e2926e520e8e539e074f2235e5a3c45:/website/reverse.php?ds=sidebyside diff --git a/website/reverse.php b/website/reverse.php index 391e4b50..134b5e4e 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -63,7 +63,7 @@ $iMaxRank = (isset($_GET['zoom']) && isset($aZoomRank[$_GET['zoom']]))?$aZoomRank[$_GET['zoom']]:28; // Find the nearest point - $fSearchDiam = 0.0008; + $fSearchDiam = 0.0004; $iPlaceID = null; $aArea = false; $fMaxAreaDistance = 1; @@ -95,7 +95,7 @@ $aPlace = $oDB->getRow($sSQL); if (PEAR::IsError($aPlace)) { - failInternalError("Could not determine closest place.", $sSQL, $iPlaceID); + failInternalError("Could not determine closest place.", $sSQL, $aPlace); } $iPlaceID = $aPlace['place_id']; $iParentPlaceID = $aPlace['parent_place_id'];