Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Error-tolerant search for house numbers with spaces #5254

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Open

Error-tolerant search for house numbers with spaces #5254

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: is-zUser
[Submitted to the original trac issue database at 1.17pm, Monday, 1st December 2014]

In house numbers with addition in Germany different formats are registered at the addresses (eg 1b or 1 B). With Search 1b are found not 1 B, Looking for 1 B is not found 1b. Address lookup results currently only available with the exact search input. Therefore, a house number search is recommended seach two versions (with and without space). Similar as a street search with and without abbreviation is possible.

Background:
Since there are no uniform rules on the wiki regarding the spelling, it is possible that both spellings are used. In general, most people used the notation 1 - no space. But since 2011, ruled the German standard DIN 5008 a notation with a space between the number and letter. Normally this is in Germany taught and sooner or later implemented in practice. Here are a few links (German):

[http://www.sekretaerinnen-service.de/newsletterarticle.asp?his=17.42.55.8177&id=16679]

[http://www.klaus-kolb.de/DIN5008.pdf]

[http://www.fachlehrerseite.de/viewtopic.php?t=2975]

@openstreetmap-trac
Copy link
Author

Author: is-zUser
[Added to the original trac issue at 11.01pm, Monday, 15th December 2014]

Small Info: I've opend a [http://www.openstreetmap.org/user/is-zUser/diary/28228 Blog] and seen this is not only a german problem.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 1.50pm, Thursday, 14th May 2015]

It would be fairly easy to remove all spaces from house numbers in the OSM data. That would solve the case, were '1 b' is mapped but '1b' is typed in the search box. The case with the other way around is not so simple to use solve because it involves correctly guessing that the term typed in the search box was a house number.

The drawback of this approach is that one cannot find '1 b' anymore when '1 b' was mapped. So the question is, which notation is used more often where.

Just to be clear. This issue is only with spaces in housenumbers. There is no issue with different case of the addendum. Changing ticket subject to reflect that.

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 4.52am, Friday, 15th May 2015]

Of the 2.9 million addr:housenumber on nodes matching starting with a digit and ending with a letter, 144k case-insensitive match '.* [a-z]'.

This doesn't tell you what people are searching for, but hope it helps with the data.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.09pm, Sunday, 17th May 2015]

Thanks for the numbers. That's more than I expected.

@openstreetmap-trac
Copy link
Author

Author: is-zUser
[Added to the original trac issue at 9.48pm, Wednesday, 3rd May 2017]

Here a examle: http://www.openstreetmap.org/node/3010554896
It's not from me. We need a unified solution. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant