]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/warm.php
Merge pull request #499 from mtmail/travis-ci
[nominatim.git] / utils / warm.php
index b034fa8c9ce997c2e02f3ce8529056405cff1129..18121eb66fb470ca4ceb78bcc0024811fa38cd9a 100755 (executable)
@@ -41,7 +41,8 @@
                        $aLookup = $oReverseGeocode->lookup($fLat, $fLon);
                        if ($aLookup && $aLookup['place_id'])
                        {
-                               $aDetails = $oPlaceLookup->lookupPlace($aLookup);
+                               $aDetails = $oPlaceLookup->lookup((int)$aLookup['place_id'],
+                                                                 $aLookup['type'], $aLookup['fraction']);
                                if ($bVerbose) echo $aDetails['langaddress']."\n";
                        }
                        else echo ".";