-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse multi-value housenumber values #1558
Comments
In the example above, should it be “58–66” or “52–66”? |
The range separator is an en dash in many Western languages, but it isn’t universally used as a range separator. For example, the range separator would be a wave dash (〜) in Chinese and Japanese, and a tilde (~) in Korean. In these languages, an en dash would be easily confused with 一, the Hanzi character meaning “one” or “a”, although my understanding is that Chinese and Korean are somewhat laxer about allowing an en dash for numeric ranges. CLDR has a listing of the industry-standard range separators, although I suspect this part of CLDR hasn’t received as much scrutiny as other parts. Clients may be able to format localized ranges more effectively. Perhaps there should be separate properties for the beginning and end of the range, the end being optional. |
I think the options are:
As much as this is a corner case, I think sorting introduces its own problems, such as non-numeric characters, which might appear in other corner cases. Introducing new attributes is a fine solution, but would be a breaking change that would have to wait for OMT 4.0. |
Thanks! Could be possible to use sorted ( |
FYI, some places use hyphens in individual addresses. Queens, New York, is probably the most well-known example. There are many multi-address buildings there, but they’re generally mapped as one node per address. If you parse Dashes in individual unit numbers would pose more of a problem if you extend this approach to |
For house numbers which have many values, common practice is to map them as semi-colon separated (location):
I propose that these be combined to a more readable string with an en dash in between such as 58-66.
The text was updated successfully, but these errors were encountered: