<div dir="ltr"><br><br><div class="gmail_quote">On Thu, May 7, 2009 at 10:59 AM, Stephan Plepelits <span dir="ltr"><<a href="mailto:skunk@xover.htu.tuwien.ac.at" target="_blank">skunk@xover.htu.tuwien.ac.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, May 06, 2009 at 04:36:58PM +0300, Tal wrote:<br>
> Regarding the "official language", or more precisely, which of the available<br>
> languages to use, I've always felt that this is a rendering issue, sort of. I<br>
> mean, that this is a higher level knowledge that should be an input to the<br>
> rendering software, in addition to the osm db, much like the rule file. This<br>
> new knowledge, which might reside in the rule file, should not be a part of the<br>
> osm db.<br>
I'm totally with you, it should be a thing for the renderer. But ... if you<br>
don't know in which language the name-tag is in, it's hard to decide which<br>
language to take.</blockquote><div><br>Here, I totally agree with you. That's why it should be strongly encouraged to ALWAYS tag what language a name tag is in. But there is no need to introduce a new tag for this (I did tried to suggest it once, as a temporary workaround, not as the ultimate solution).<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
An example. I want a German map, but when there are no German names I'd<br>
prefer English ones.<br>
<br>
No you encounter a street:<br>
name=Bergstrasse<br>
name:en=Mountain Road</blockquote><div> </div><div>When you tag names without specifying the language, you get yourself into troubles. why not tag as:<br>
name:de=Bergstrasse<br>
name:en=Mountain Road<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Which text do you print on the map? I think we need a way to tell the<br>
renderer which language(s) are used for the name, ref, desc, ...-tags.<br>
And actually I don't see a political problem, because it just adds some<br>
additional information about something which is already there.</blockquote><div><br>I agree that's nothing political, and there is some information missing. You propose to add this information in the following way:<br>
name=Bergstrasse<br> name:en=Mountain Road<br> local_language_used_in_name_tags=de<br>
<br>I think it complicates things without a goog reason. I solve it as I've shown above:<br></div><div>
name:de=Bergstrasse<br>
name:en=Mountain Road<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
And in cases where you have several languages in the name-tag you should<br>
use the same order for the language-tag. (That doesn't have to imply any<br>
"importance" or what-so-ever).</blockquote><div><br>I'd like to draw some attention to <a href="http://trac.openstreetmap.org/ticket/1643" target="_blank">http://trac.openstreetmap.org/ticket/1643</a><br>It adds a "preferedLanguages" parameter to osmrenderer rule file (or as a command line option): <blockquote>
<p>
assume <tt>preferedLanguages=":en,:de,,:he"</tt>
</p>
</blockquote>
<blockquote>
<p>
when osmarenderer need a "name" tag, it will use the first available tag of the following:
</p>
</blockquote>
<blockquote>
<blockquote>
<p>
<tt>name:en,name:de,name,name:he</tt> <br></p><br><br></blockquote>
</blockquote> </div></div><br></div>