]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
Reverse geocode include geometry - added bounding box tests
[nominatim.git] / website / reverse.php
index ca823d3cdf60d1be6d1da3cfa4ae4e2dc1e06dfa..d1c554a454352a79914f2f75a4096c182f8fa490 100755 (executable)
                $fRadius = $fDiameter = getResultDiameter($aPlace);
                $aOutlineResult = $oPlaceLookup->getOutlines($aPlace['place_id'],$aPlace['lon'],$aPlace['lat'],$fRadius);
 
-               foreach($aOutlineResult as $k => $v)
-               {
-                       $aPlace[$k] = $v;
-               }
-
+               $aPlace = array_merge($aPlace, $aOutlineResult);
        }
        else
        {