-1. This would indeed be satisfying the wish for nice line labeling on tram lines in the short term. However, implementing this one-time might encourage others to just tag tram lines in this fashion and not even bother about the relations. You know how these things go, as soon as you start doing this at any serious scale, people will adapt it as best practice and we will end up doing renderer-driven tagging, to which I am quite vehemently opposed.<br>
<br>Cross posting to talk.<br><br clear="all">martijn van exel -+- <a href="mailto:mvexel@gmail.com" target="_blank">mvexel@gmail.com</a> -+- <a href="http://www.schaaltreinen.nl/" target="_blank">http://www.schaaltreinen.nl/</a><br>
<br><br><div class="gmail_quote">On Thu, Apr 23, 2009 at 13:54, Maarten Deen <span dir="ltr"><<a href="mailto:mdeen@xs4all.nl" target="_blank">mdeen@xs4all.nl</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;">
<div><a href="mailto:ldp@xs4all.nl" target="_blank">ldp@xs4all.nl</a> wrote:<br>
>> ah yes. Once again didn't think about the info that's included - but<br>
>> invisible - already.<br>
><br>
> But which would need some work to be available to the renderer. osm2pgsql<br>
> should take the info from the relations and 'flatten' it into the physical<br>
> tramline data. For bonus points: preserve an existing name, and append the<br>
> tramline numbers. For extra bonus points: keep the tramline numbers<br>
> ordered.<br>
<br>
</div>What a renderer should do is take a key from the way and the relation and<br>
concatenate them using a separator character.<br>
Both the key name and the separator character should be specified in the<br>
rendering rules. And if a namerendering like this is required of course. And<br>
if and how they should be sorted.<br>
<br>
But for as long as such a rendering is not made, I would not object to putting<br>
the linenumbers in the name tag of the way. It is very useful information, and<br>
can be weeded out quite easily if a future render can use the relations.<br>
<font color="#888888"><br>
Maarten<br>
</font><div><div></div><div><br>
<br>
<br>
_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-be" target="_blank">http://lists.openstreetmap.org/listinfo/talk-be</a><br>
</div></div></blockquote></div><br>