X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/00265af528652d6c1bb32cf0694d71e8c5603f39..4e99f8a3408d59f5c6bf8d934fda7bb3726f2da2:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index f7f97593..306255b5 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -27,7 +27,7 @@ class Geocode protected $aExcludePlaceIDs = array(); protected $bDeDupe = true; - protected $bReverseInPlan = false; + protected $bReverseInPlan = true; protected $iLimit = 20; protected $iFinalLimit = 10; @@ -1275,8 +1275,7 @@ class Geocode $aResult['name'] = $aResult['langaddress']; - if ($oCtx->hasNearPoint()) - { + if ($oCtx->hasNearPoint()) { $aResult['importance'] = 0.001; $aResult['foundorder'] = $aResult['addressimportance']; } else {