]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/query.php
get precomputed housenumbers and postcodes from address column
[nominatim.git] / utils / query.php
index 05875d64afaef3ac22b7e32407bc17cab50a15a0..85ec87374dd9ce2c8e0191f6a2f86e893aff31e4 100755 (executable)
@@ -28,12 +28,12 @@ $aCMDOptions
 getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
 
 $oDB =& getDB();
-$oParams = new ParameterParser($aCMDResult);
+$oParams = new Nominatim\ParameterParser($aCMDResult);
 
 if ($oParams->getBool('search')) {
     if (isset($aCMDResult['nodedupe'])) $aCMDResult['dedupe'] = 'false';
 
-    $oGeocode = new Geocode($oDB);
+    $oGeocode = new Nominatim\Geocode($oDB);
 
     $oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false));
     $oGeocode->loadParamArray($oParams);