Re: [Talk-transit] Summary of Public Transport Proposal Criticism - a real example from Zürich

2011-02-06 Thread Michael von Glasow

On 02/05/2011 06:09 PM, Richard Mann wrote:

On Sat, Feb 5, 2011 at 12:32 AM, Michael von Glasow
mich...@vonglasow.com  wrote:

if I may just comment on the relation: I would also use stop
rather than forward_stop and backward_stop for the roles since the
outward and return directions of a spoon route are somewhat hard to tell
apart. (Unless one stop in the loop is formally designated as the terminus
where services routinely end.)

You have to use forward_stop and backward_stop if you combine the two
directions in one relation, otherwise the same-named stop in the two
directions don't get combined on the line diagram.
You're probably right (though I haven't tried plotting spoon lines yet), 
when the same stop is served twice, the tool needs that information. 
stop works well for single-direction relations. Maybe it would be best 
to use forward_stop and backward_stop for the stops which are served 
in both directions and stop for the stops in the loop.


Then again, I'm wondering whether that's too much tagging for the 
renderer already. Couldn't a well-written renderer look at the stop 
names and deduct from these the fact that the stop is the same? Or can 
you think of any case in which that wouldn't work?

I think if you use
two relations, one for each direction, it combines them regardless of
role (and even if there's no role).
I did a lot of experimenting to get a simple, one-relation-per-direction 
line to render correctly. If I remember that correctly, the stop role 
is required (forward_stop, backward_stop or platform will also 
work). The tags on the members also seem to matter (e.g. 
amenity=bus_station, even with the correct role, does not get rendered.)


Michael

___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] Summary of Public Transport Proposal Criticism - a real example from Zürich

2011-02-06 Thread Richard Mann
On Sun, Feb 6, 2011 at 11:23 PM, Michael von Glasow
mich...@vonglasow.com wrote:
 I did a lot of experimenting to get a simple, one-relation-per-direction
 line to render correctly. If I remember that correctly, the stop role is
 required (forward_stop, backward_stop or platform will also work). The
 tags on the members also seem to matter (e.g. amenity=bus_station, even with
 the correct role, does not get rendered.)

http://www.openstreetmap.org/browse/relation/34631 doesn't have roles
on the nodes (and it's one of the two relations used for the working
example on http://78.46.81.38/public_transport.html ).

___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] Summary of Public Transport Proposal Criticism - a real example from Zürich

2011-02-06 Thread Dominik Mahrer (Teddy)

On 02/07/2011 12:23 AM, Michael von Glasow wrote:

On 02/05/2011 06:09 PM, Richard Mann wrote:

On Sat, Feb 5, 2011 at 12:32 AM, Michael von Glasow
mich...@vonglasow.com wrote:

if I may just comment on the relation: I would also use stop
rather than forward_stop and backward_stop for the roles since the
outward and return directions of a spoon route are somewhat hard to tell
apart. (Unless one stop in the loop is formally designated as the
terminus
where services routinely end.)

You have to use forward_stop and backward_stop if you combine the two
directions in one relation, otherwise the same-named stop in the two
directions don't get combined on the line diagram.

You're probably right (though I haven't tried plotting spoon lines yet),
when the same stop is served twice, the tool needs that information.
stop works well for single-direction relations. Maybe it would be best
to use forward_stop and backward_stop for the stops which are served
in both directions and stop for the stops in the loop.


I did not play around with actual renderers, but in theory the renderer 
should be able to get the diagram out of the order of the stops, 
regardless of the role. If one stop is twice in the route relation it 
should be obvious that it has to be some kind of loop. So in theory 
forward_stop and backward_stop can be replaced by the role stop.


Or did I miss something?

Teddych

___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit