X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b8db8301df64712bb2fa39ab07ea9ce747a1e5e6..dcab7a19e540ff22a49e8322d775f13657edc3bd:/lib/ReverseGeocode.php diff --git a/lib/ReverseGeocode.php b/lib/ReverseGeocode.php index 6d3cc829..b3899e3b 100644 --- a/lib/ReverseGeocode.php +++ b/lib/ReverseGeocode.php @@ -201,6 +201,8 @@ class ReverseGeocode if ($iPlaceID && $iMaxRank < 28) { if (($aPlace['rank_search'] > 28 || $bPlaceIsTiger || $bPlaceIsLine) && $iParentPlaceID) { $iPlaceID = $iParentPlaceID; + $bPlaceIsLine = false; + $bPlaceIsTiger = false; } $sSQL = 'select address_place_id'; $sSQL .= ' FROM place_addressline';