Some rivers are long enough to cross several countries or used as international borders. Putting the local name into the tag "name:<lang>" is not a problem. asked 07 Dec '11, 22:59 Pieren |
I would say that all along the river should have the international answered 08 Dec '11, 00:10 LM_1 1
After thinking about this for a while, maybe the best way for names would be to use only
(08 Dec '11, 13:24)
LM_1
Can you enhance your reply for the relation assembling all sections of the river (I can imagine that setting the local name is easy when you can split the ways but not possible for the relation) ?
(08 Dec '11, 14:09)
Pieren
In this situation it makes even more sense to have only language specific tags and to let the renderer decide. For legacy / compatibility the name tag of the relation should contain all the names.
(08 Dec '11, 14:43)
LM_1
And I am the renderer, what to print out over the river which is a border also? My vote goes to:
(03 Jan '16, 17:00)
Plamen
|
The river-as-border is the tricky case (for border-crossing rivers, just split the river into multiple parts and tag each accordingly). But multi-value tagging is both ugly and a cop-out. You'll have to be subjective here. Does the river border one country for longer than the other ? Is the official administrative boundary shifted towards one of the riverbanks ? Is there more boat traffic from one country than the other ? Is one of the countries more internationaly influencial ? Just choose one version and learn to be happy with it. It will not be perfect, but such is the fate of the "name" tag. Once that's done, put the other version in an "alt_name" tag. answered 08 Dec '11, 10:00 Vincent de P... ♦ 1
As example, the Rhine is crossing 3 countries and "touching" 2 others. It is officially writen in at least 3 languages. So what would be the value entered in the relation "name" ?
(08 Dec '11, 14:07)
Pieren
|
Different parts of the same river can have different names. If you have a top level relation with all the "name:< lang >=" tags and subrelations for each country with the name=. The only problems are rivers that is used as a border where the locals on each side have different names for it. This is the same problem as where there are two equal languages spoken in a region. There have been a lot of debate about this. I think that puting name=< lang A >;< lang B > is the best option. answered 08 Dec '11, 13:12 Gnonthgol ♦ |
River-as-border: since not all renderers support the "name:<lang>" tags, I think it's good practice to provide a default "name" tag as a fallback value. The Rhine river, bordering France and Germany, is probably a good example. http://www.openstreetmap.org/browse/way/91320954 To remain neutral, names in the "name" tag could simply be in Unicode alphabetical order. If the river borders many countries, using all the names on the "name" tag would be too verbose I think. You may consider a system of relations: one "master" relation for the entire river, using only "name:<lang>" and without a "name" tag; and one "minor" relation for each part of the river that borders a pair of countries, including "name:<lang>" for the languages of these two countries and a fallback "name" tag combining these two names. This has several advantages: the "master" relation can be linked from the main Wikipedia article; the "master" and the "minor" relations would be returned by Nominatim and would fit different user's needs; there's no need to tag each way individually, minimizing maintenance; most maps (particularly Mapnik) would render an acceptable river name. Note: some ways in the Rhine have a "note" tag saying that the "name" tag must include both names. This may indicate that naming only the relations is not enough for proper rendering. answered 02 Apr '13, 15:19 ftrebien |