mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-28 05:48:36 +03:00
reverse: disable interpolation when going up the address hierarchy
Fixes #621.
This commit is contained in:
parent
d4c78a982e
commit
dcab7a19e5
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user