]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
ignore isaddress in details output when it is not present
[nominatim.git] / lib / template / search-json.php
index 6108aca4e005582d9446a75ca44737a0ab0ae5c3..4b896d08a6de136207a8e878ff8c2ac73f7e711d 100644 (file)
@@ -15,10 +15,6 @@ foreach ($aSearchResults as $iResNum => $aPointDetails) {
 
     if (isset($aPointDetails['aBoundingBox'])) {
         $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
-
-        if (isset($aPointDetails['aPolyPoints'])) {
-            $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
-        }
     }
 
     if (isset($aPointDetails['zoom'])) {