]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ReverseGeocode.php
make house number reappear in display name on named POIs
[nominatim.git] / lib / ReverseGeocode.php
index 50060ee00e91ba7dc4b05ca149af25c38ecfe5b2..5cecfd33a8606934fa3109929c5ad84313805f21 100644 (file)
@@ -299,7 +299,7 @@ class ReverseGeocode
                     // radius ?
                     $sSQL .= ' WHERE ST_DWithin('.$sPointSQL.', geometry, 0.001)';
                     $sSQL .= ' AND parent_place_id = '.$iPlaceID;
-                    $sSQL .= ' and rank_address != 28';
+                    $sSQL .= ' and rank_address > 28';
                     $sSQL .= ' and ST_GeometryType(geometry) != \'ST_LineString\'';
                     $sSQL .= ' and (name is not null or housenumber is not null)';
                     $sSQL .= ' and class not in (\'boundary\')';