]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ReverseGeocode.php
README: tiny markdown syntax error
[nominatim.git] / lib / ReverseGeocode.php
index fc5e04d6fcc5b82ec2f3ba614673a831e39522ba..820ca3855b178ef4365201ce5db9481f159d223b 100644 (file)
@@ -130,6 +130,7 @@ class ReverseGeocode
             $sSQL .= ' WHERE country_code = \''.$sCountryCode.'\'';
             $sSQL .= ' AND rank_search = 4 AND rank_address = 4';
             $sSQL .= ' AND class in (\'boundary\',  \'place\')';
+            $sSQL .= ' AND linked_place_id is null';
             $sSQL .= ' ORDER BY distance ASC';
 
             if (CONST_Debug) var_dump($sSQL);