mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +00:00
reverse: disable interpolation when going up the address hierarchy
Fixes #621.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user