]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
Merge pull request #1894 from lonvia/fix-hierarchy-by-admin-level
[nominatim.git] / website / reverse.php
index 7b9ef3b3b264c71e5ae894f3e5348a49be9ea84a..29340a921fd4aa9ebbd77e783d174e5ccf2012a9 100644 (file)
@@ -55,7 +55,7 @@ if (isset($aPlace)) {
         $aPlace['place_id'],
         $aPlace['lon'],
         $aPlace['lat'],
         $aPlace['place_id'],
         $aPlace['lon'],
         $aPlace['lat'],
-        Nominatim\ClassTypes\getProperty($aPlace, 'defdiameter', 0.0001),
+        Nominatim\ClassTypes\getDefRadius($aPlace),
         $fLat,
         $fLon
     );
         $fLat,
         $fLon
     );