X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cbddfcde5b1613949d173ccd751efc4018969a18..d586b95ff11a45ab6223e83e1b0540f1db87b325:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 956bb566..429b30ff 100644 --- a/utils/query.php +++ b/utils/query.php @@ -1,8 +1,8 @@ connect(); @@ -58,6 +78,7 @@ if (!$oParams->hasSetAny($aSearchParams)) { $oGeocode = new Nominatim\Geocode($oDB); $oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false)); +$oGeocode->setReverseInPlan(true); $oGeocode->loadParamArray($oParams); if ($oParams->getBool('search')) {