[Tagging] Country names
Craig Wallace
craigw84 at fastmail.fm
Thu Oct 14 15:42:28 BST 2010
On 14/10/2010 14:51, Peter Körner wrote:
> To render a German map there are two possibilities:
> 1. render "name:de" if it exists, "name" otherwise
> 2. render "name" if its identical to "name:de", "name (name:de)" otherwise
>
> "name" does hereby refer to the local name ((how do the people that live
> there call their country).
>
> This works for all the places that have only one local name. 1. is waht
> we currently render on the TS and it would be easy to set up 2., but it
> would not look nice because the "name" tag sometimes already contains
> brackets.
But what if you want to render a map with only German names, no other
(local) languages?
The obvious answer is to only render the "name:de" tag, but the problem
with this is places that don't have "name:de" set, and just have a
"name". You don't know whether the name tag is in German or in some
other language.
You could assume what language "name" is in, based on country
boundaries, but that makes things much more complicated. And there might
be several common languages within one country.
More information about the Tagging
mailing list