X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2ab9e4acd3a2ceb5ff871b6b6afc786377e8739f..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/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')) {