X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2ab9e4acd3a2ceb5ff871b6b6afc786377e8739f..d97aed87411fad81eb93fd14a58bb22fdc16dd59:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 956bb566..d002f898 100644 --- a/utils/query.php +++ b/utils/query.php @@ -1,8 +1,8 @@ connect(); @@ -58,6 +77,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')) {