Hyphenated housenumber ranges don't index the intermediate numbers #4789
Comments
Author: oliver.jowett[at]gmail.com Similar problem occurs on nodes tagged with hyphenated address ranges. e.g. http://www.openstreetmap.org/browse/node/2172269184, a singleton node not part of a way, tagged with:
This is a group of flats with a single entrance that is part of a larger building. |
Author: lonvia See also [https://github.com/osm-search/Nominatim/issues/111] |
Author: lonvia Putting a range into |
Author: oliver.jowett[at]gmail.com I followed [http://wiki.openstreetmap.org/wiki/Addresses#Buildings_with_multiple_house_numbers this wiki advice], which says to do exactly what you say is a bad idea: Specify the range (e.g., "10-95"). This is the preferred method when such a range is This is unambiguous if addr:interpolation is also present. |
Author: lonvia There is a lot of contradictory advice in the wiki and that page was probably written by somebody who simply wasn't aware that there are house numbers with dashes out there. Fact is that implementing ranges in that way requires some complicated heuristics. And that simply won't happen in Nominatim if there is a tagging schema that is unambiguous and already works. Please don't reopen this ticket unless you have a patch that implements this (although a pull request over at github is preferred then). |
Author: oliver.jowett[at]gmail.com I should note that overpass says that, looking at just the greater London area (to keep the data manageable), there are:
So you will be throwing away a lot of existing data by not supporting this. It would be in your own interests, if you are not going to add support to Nominatum for this, to update the wiki so that the apparently-bad advice is not there. You probably also want to think about a mechanical edit to "repair" all the existing data. |
Author: oliver.jowett[at]gmail.com FWIW, I cloned the Nominatum repository to take a look, but immediately ran into a twisty little maze of autoconf problems - couldn't even get the clean source to build - so I won't be playing with fixing this bug myself any time soon. |
Reporter: otbj
[Submitted to the original trac issue database at 8.02pm, Wednesday, 20th February 2013]
See http://www.openstreetmap.org/browse/way/205900169
This is a building directly tagged with:
I would expect this to match queries for:
i.e. the intermediate values of the hyphenated addr:housenumber range are not being indexed, only the endpoints of the range.
The text was updated successfully, but these errors were encountered: