mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
@@ -130,6 +130,7 @@ class ReverseGeocode
|
|||||||
$sSQL .= ' WHERE country_code = \''.$sCountryCode.'\'';
|
$sSQL .= ' WHERE country_code = \''.$sCountryCode.'\'';
|
||||||
$sSQL .= ' AND rank_search = 4 AND rank_address = 4';
|
$sSQL .= ' AND rank_search = 4 AND rank_address = 4';
|
||||||
$sSQL .= ' AND class in (\'boundary\', \'place\')';
|
$sSQL .= ' AND class in (\'boundary\', \'place\')';
|
||||||
|
$sSQL .= ' AND linked_place_id is null';
|
||||||
$sSQL .= ' ORDER BY distance ASC';
|
$sSQL .= ' ORDER BY distance ASC';
|
||||||
|
|
||||||
if (CONST_Debug) var_dump($sSQL);
|
if (CONST_Debug) var_dump($sSQL);
|
||||||
|
|||||||
Reference in New Issue
Block a user