X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7ed9ecf3504cece2e18ce606af11eb49292d9872..f5cbe0e6babf9b4649eb2e00717d21474052b08e:/website/lookup.php diff --git a/website/lookup.php b/website/lookup.php index 39a17ebd..db2c01d6 100644 --- a/website/lookup.php +++ b/website/lookup.php @@ -58,7 +58,7 @@ foreach ($aOsmIds as $sItem) { $oPlace['place_id'], $oPlace['lon'], $oPlace['lat'], - Nominatim\ClassTypes\getProperty($oPlace, 'defdiameter', 0.0001) + Nominatim\ClassTypes\getDefRadius($oPlace) ); if ($aOutlineResult) { @@ -81,5 +81,7 @@ $bShowPolygons = ''; $aExcludePlaceIDs = array(); $sMoreURL = ''; +logEnd($oDB, $hLog, 1); + $sOutputTemplate = ($sOutputFormat == 'jsonv2') ? 'json' : $sOutputFormat; include(CONST_BasePath.'/lib/template/search-'.$sOutputTemplate.'.php');