X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9240e83802b30c940ceec9ac51700b86b77b65e2..8be702bf602118b19d4482566e4239c023b7fe54:/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';