[Talk-GB] The Welsh for "Brighton"
Mateusz Konieczny
matkoniecz at tutanota.com
Mon Jun 14 04:31:58 UTC 2021
Jun 13, 2021, 17:01 by osm at poppe.dev:
> I'd really only add another language's name if it's a) not identical with the local name
>
Please, map them not only then.
It also helps to provide labels targeting specific community when making maps.
Obviously: add names only when actually used, not fake names or transcriptions.
-------------------------------------------------------------------------------------------------------------
In actual case I tried to
- (1) render names in Polish
- (2) if Polish name is not present then show English name
- (3) try German name
- (4) show name tag
(2),(3) were present because for city in China
English/German name was preferred in readability over what was in name tag.
But this resulted in problems where name, name:de was tagged, but name
had name in Polish - I was getting German name for cities in Poland.
adding name:pl fixed this issue, and in general I see no better way to handle that
For Polish I could try checking is feature is in Poland but that
(1) is really problematic in actual use, for that case such functionality was impossible
(2) would not work for all languages
so I would encourage mapping also local name with name:lang if any
name:lang key is already present on a feature.
See https://github.com/tilezen/vector-datasource/issues/1406 for a closely related issue
(this one is about removal of such tags in preprocessing rather about not mapping them,
but the problem is the same)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20210614/3f3f2e7a/attachment.htm>
More information about the Talk-GB
mailing list