mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
allow slashes in house numbers
This commit is contained in:
@@ -817,7 +817,7 @@
|
||||
$sPlaceIDs = join(',',$aPlaceIDs);
|
||||
|
||||
// Now they are indexed look for a house attached to a street we found
|
||||
$sHouseNumberRegex = '\\\\m'.str_replace(' ','[-, ]',$aSearch['sHouseNumber']).'\\\\M';
|
||||
$sHouseNumberRegex = '\\\\m'.str_replace(' ','[-,/ ]',$aSearch['sHouseNumber']).'\\\\M';
|
||||
$sSQL = "select place_id from placex where parent_place_id in (".$sPlaceIDs.") and housenumber ~* E'".$sHouseNumberRegex."'";
|
||||
if (sizeof($aExcludePlaceIDs))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user