X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/d35a0b392e5031bb5bbdcb5d32ca25306568d29a..17a8cc5e29223fea3dbb1ae02f4450c17bbd7bfe:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 956bb566..6068c7c0 100644 --- a/utils/query.php +++ b/utils/query.php @@ -58,6 +58,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')) {