]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/lookup.php
Merge pull request #1801 from lonvia/rework-classtypes
[nominatim.git] / website / lookup.php
index 7675ae1358006870631a8055c69812b8a00a4679..db2c01d647fd0afb4ceea11f0da84c718ee02806 100644 (file)
@@ -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) {