mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
limit fallback to pure number housenumbers
This commit is contained in:
@@ -816,7 +816,7 @@
|
||||
}
|
||||
|
||||
// Fallback to the road
|
||||
if (!sizeof($aPlaceIDs))
|
||||
if (!sizeof($aPlaceIDs) && preg_match('/^[0-9]+$/', $aSearch['sHouseNumber']))
|
||||
{
|
||||
$aPlaceIDs = $aRoadPlaceIDs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user