mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 22:12:45 +03:00
remove New York hack
Seems to work okay with current boundaries.
This commit is contained in:
parent
21adb3740e
commit
2cc0fa341b
@ -483,8 +483,7 @@
|
||||
$sCountryCodesSQL = join(',', array_map('addQuotes', $this->aCountryCodes));
|
||||
}
|
||||
|
||||
// Hack to make it handle "new york, ny" (and variants) correctly
|
||||
$sQuery = str_ireplace(array('New York, ny','new york, new york', 'New York ny','new york new york'), 'new york city, ny', $this->sQuery);
|
||||
$sQuery = $this->sQuery;
|
||||
|
||||
// Conflicts between US state abreviations and various words for 'the' in different languages
|
||||
if (isset($this->aLangPrefOrder['name:en']))
|
||||
|
Loading…
Reference in New Issue
Block a user