<div class="gmail_quote">On Fri, Feb 12, 2010 at 23:29, Roland Olbricht <span dir="ltr"><<a href="mailto:roland.olbricht@gmx.de">roland.olbricht@gmx.de</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;">
I've worked on that problem this evening. The problem is that there is no<br>
clear standard whether the stop in back-direction should be ordered as the<br>
bus passes them (e.g. relation 381001) or ordered in the same way as the<br>
forward stops (e.g. relation 365296). That's one of the reasons why I prefer<br>
separated relations for each direction. Anyway, I've extended the SVG creator<br>
script to cope with that: try<br>
<a href="http://78.46.81.38/api/sketch-route?365296&backspace" target="_blank">http://78.46.81.38/api/sketch-route?365296&backspace</a><br>
<a href="http://78.46.81.38/api/sketch-route?381001&backtime" target="_blank">http://78.46.81.38/api/sketch-route?381001&backtime</a><br>
use "backspace" when the backward stops are ordered as the forward stops<br>
or "backtime" when the backward stops are ordered in the order the bus serves<br>
them. The paired relations and the simple relations<br>
<a href="http://78.46.81.38/api/sketch-route?34631&361959" target="_blank">http://78.46.81.38/api/sketch-route?34631&361959</a><br>
<a href="http://78.46.81.38/api/sketch-route?23653" target="_blank">http://78.46.81.38/api/sketch-route?23653</a><br>
are of course still available.<br><div class="im"></div></blockquote><div><br>That's so cool! Well, I have used that format for line 365296 cause in that case the stops are the same node, placed on the way for both directions, cause it's a tramway, and I would have to insert them twice in the relation, right?, while in the other cases, the bus stops are placed off the way and a single node corresponds to a single bus stop. But as it works in both cases, then i think we shouldn't worry...<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;"><div class="im">I don't have an idea yet. I think there are questions on both sides: how<br>
</div>
should we represent a branch in the line diagram and how can the server offer<br>
a comfortable way to provide all the necessary parameters?<br></blockquote><div><br>It's probably useful to consider as lines with branches lines with same route_ref and, for example, considering the tag state=alternate (and hopefully, same operator=) and then let the script check whenever the ways and nodes are differing.<br>
</div><div><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;">Yes, this should be perfectly possible.<br></blockquote><div><br>Perfect!!!<br>
<br>Then I noticed that on some lines, if I tagged the terminus only with role "stop" it doesn't show the terminus or shows it only on one direction. Should I include twice the terminus in the relation?<br><br>
And, do you think you could add the option to show also the lines stopping at the same given stop (and eventually symbols for nearby park + ride or bus/train stations?<br><br>ciao<br>T<br></div></div>