[Talk-us] Change sets covering entire US?

Mateusz Konieczny matkoniecz at tutanota.com
Mon Nov 8 16:43:22 UTC 2021




Nov 8, 2021, 13:18 by zelonewolf at gmail.com:

> I don't have a problem with the large size of the bounding box, as it is clear from the changeset description what the change is, and it is topically consistent (i.e. - it's not a changeset with a park in New York, an ice cream shop in Albuquerque, and a river in St. Louis!).
>
> I *DO* have a problem with the change itself, as name:en is redundant when the name is already in English.  The data consumers that I'm familiar with (namely, OpenMapTiles, and my own service) that are tasked with extracting names in English are perfectly capable of looking for name:en first, and then falling back to name if name:en is not present.  So IMO, this is tag bloat.  I have added a changeset comment requesting an explanation for the change and will link to this discussion.
>
It is not really redundant as soon as you make a bit more interesting name display.

if someone would want to display names in English but in case of English name being
 unavailable, show German name (which would be preferred over say "京市北")

In such case the solution would be to

    display name:en=*
    if it is unavailable display name:de=*
    if both are not present display name=*

But note what would happen if name=* would be in English, name:en=* would be not
tagged and name:de=* would be tagged:

    display name:en=* - skipped, as not present
    if it is unavailable display name:de=* - done!
    if both are not present display name=* - not reached

Alternative would be adding guesses about language of name=* (what is tricky,
complicated for many languages and areas impossible, fragile and error-prone).

Or explicitly tagging both name=* and name:en=*.

(I was actually doing this kind of label display in past, though with Polish
not English as desired label language)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20211108/dd79731c/attachment.htm>


More information about the Talk-us mailing list