Re: [Talk-transit] Proposed Feature - RFC - Public Transport

2010-12-08 Thread Dominik Mahrer (Teddy)

Hi Michael


In the new proposal I am missing some details on how to build relations:

1. Should the outward and return trip be represented as two separate
relations, as a single relation or is that up to the mapper?


Each direction should be in a separate relation. This is written in the 
proposal. Both directions/variants should be member of a master relation.



2. Which members should the relation contain, and in which order?


You are not the first with this question, so I added some explanations 
to the proposal:


First the stop_positions ordered (with role stop), then platforms 
ordered (with role platform) and then the ways ordered (without role).



3. Which data primitive should be added for stops?


Stop positions AND platform. Stop position is important for the route 
itself, the platform is important for pedestrian routing.



4. How are line variants mapped?


Problem 1:

A - B1/B2 - C - D - E1/E2 - F

In morning and evening hours the bus stops at B2 instead of B1.
During school holiday the bus stops at E2 instead of E1.
This gives us four possibilities really used.

When you add alt-roles to a stop you can't say when is what route used. 
So this does not work, we need really four relations.


Problem 2:

What do you want to say with role forward/backward? Forward/backward 
compared to what? To the route direction or to the tagged way direction? 
Actually both is used in the OSM database and no one knows how to 
interpret it. Role forward and backward is in my eyes a nice try to 
solve a problem. But it confused more then it solved. We should leave 
this away.


Practical:

I map the variant with the most stops (in your example twice A B1 E1 K. 
In JOSM you can easily copy a relation and change what is different. So 
to handle your 8 variants should not take 8 times mapping one variant.


I personally leave away the very special cases (ex. first course starts 
at B instead of A). This is only relevant when timetable information is 
added to.


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


Re: [Talk-transit] Proposed Feature - RFC - Public Transport

2010-12-08 Thread Michael von Glasow

On 12/08/2010 08:44 PM, Dominik Mahrer (Teddy) wrote:

Hello

Yes, the Public Transport proposal is basically based on Oxomoa, but 
in some details different.


unified stoparea would "redefine" highway=bus_stop from beside the way 
to on the way. I'm quite sure this would reject the proposal in a vote.


unified stoparea and public transport can and do exist beside each 
other. But you are right, it does not make sense to approve both 
proposals.


I do not care about which of the two proposals will be approved. But I 
think it is time to get a more exact schema approved then the 
fuzzy/non-existing schema (A railway station of 400m length and 20 
platforms or a bus stop for 3 buses per direction of 50m length is 
reduced to one node) we have now.


Regards
Teddych


On 12/08/2010 06:02 PM, Oleksandr Vlasov wrote:

Dominik Mahrer (Teddy  teddy.ch>  writes:


I want to invite everyone to comment the (in central europe) already
widely used new Public Transport Schema:

http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport


Good work - a few months ago I started mapping the public transportation 
network in Milan and started out by looking around how other cities were 
doing it. My aim was to use a tagging scheme which is easy to 
understand/learn, minimizes data entry effort (it makes a difference 
whether mapping a single line takes half an hour or two hours) and is 
supported by the common renderers.


The results of the research I did back then is at:

http://wiki.openstreetmap.org/wiki/Milano/Trasporti_pubblici

(unfortunately it is in Italian only, but maybe non-Italian speakers can 
still get some information on tagging out of it).


The differentiation between stop_position and platform elegantly solves 
the dilemma on the position of the node (on the way or next to it). For 
routing applications it is definitely more convenient if the node is 
part of the way. However, two stops located on either side of the road 
would thus collapse into one point and it would no longer be possible to 
tag explicitly one or the other. (For example: here in Milan each stop, 
i.e. pole, has a unique number, which I tag as ref. If there is a double 
tram stop, there is a single node but two numbers. Using only this 
single node, there is no easy way to tell which number belongs to which 
side of the road. Or another example: what if there is a shelter on one 
side of the road, but not on the other?)


In the new proposal I am missing some details on how to build relations:

1. Should the outward and return trip be represented as two separate 
relations, as a single relation or is that up to the mapper?


I would favor separate relations: The ways used may be different (a road 
with two physically separated lanes, or a labyrinth of one-way streets 
in a European city), and with one relation per direction it is easy to 
sort the ways and detect holes in the route.


2. Which members should the relation contain, and in which order?

My approach to this: all way segments, tagged as role=forward or 
role=backward. The way segments should be sorted; where a bus passes the 
same way twice, it should be added twice - this allows for easy 
verification if the route is complete. Additionally the relation should 
contain all stops, which must also be sorted (some rendering 
applications, e.g. sketch-route, need the correct order of all stops). 
Stops should not be mangled with the ways - either insert ways first, 
then stops, or vice versa. Again, this is for better overview and makes 
the process less error-prone.


3. Which data primitive should be added for stops?

My suggestion: the one which best identifies the actual position at 
which the vehicle stops (and passengers board). This can be either the 
platform, the stop position or the stop area relation. Given that the 
stop position is always a node while the platform may be a node or an 
area, the stop position is probably the less problematic one to use 
(some renderers already support the combination of role=stop, 
public_transport=stop_position). I would recommend against adding the 
stop group relation as stop, since this does not provide sufficient 
information as to where passengers can really board the vehicle (stop 
groups can be huge).


4. How are line variants mapped?

One relation for each variant? Or one relation for the common part and 
one for each alternative? Sincerely, this is where I'm myself at a loss. 
Imagine a bus line with the following stops: A - B - C - D - E1 - F1 - G 
- H - I - K.


Now as for the variants. It's a made-up example, but there are lines in 
Milan which are hardly better:
- Stops E1 and F1 are in a street which is regularly closed for the 
weekly market (suppose Wednesday from 6:00 to 16:00). During that time, 
the bus takes a detour, on which two other stops (E2 and F2) are located.
- The first courses in the morning (6:00 to 7:00) begin at B rather than 
at A. (For instance because B is near the depot.)
- Every

Re: [Talk-transit] Proposed Feature - RFC - Public Transport

2010-12-08 Thread Dominik Mahrer (Teddy)

Hello

Yes, the Public Transport proposal is basically based on Oxomoa, but in 
some details different.


unified stoparea would "redefine" highway=bus_stop from beside the way 
to on the way. I'm quite sure this would reject the proposal in a vote.


unified stoparea and public transport can and do exist beside each 
other. But you are right, it does not make sense to approve both proposals.


I do not care about which of the two proposals will be approved. But I 
think it is time to get a more exact schema approved then the 
fuzzy/non-existing schema (A railway station of 400m length and 20 
platforms or a bus stop for 3 buses per direction of 50m length is 
reduced to one node) we have now.


Regards
Teddych


On 12/08/2010 06:02 PM, Oleksandr Vlasov wrote:

Dominik Mahrer (Teddy  teddy.ch>  writes:


I want to invite everyone to comment the (in central europe) already
widely used new Public Transport Schema:

http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport


Hello,

it's based on Oxomoa scheme, isn't it?
What's the status of the "unified stoparea" proposal then? those two contradict
each other and unified stoparea is in RFC stage for a year now. Are there any
data regarding actual usage of those two (I understand that unified stoparea
uses quite common tags and thus it's hard to compare just a number of
appropriate tags' occurrences)

Regards,


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


Re: [Talk-transit] Proposed Feature - RFC - Public Transport

2010-12-08 Thread Oleksandr Vlasov
Dominik Mahrer (Teddy  teddy.ch> writes:

> I want to invite everyone to comment the (in central europe) already 
> widely used new Public Transport Schema:
> 
> http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport

Hello,

it's based on Oxomoa scheme, isn't it?
What's the status of the "unified stoparea" proposal then? those two contradict
each other and unified stoparea is in RFC stage for a year now. Are there any
data regarding actual usage of those two (I understand that unified stoparea
uses quite common tags and thus it's hard to compare just a number of
appropriate tags' occurrences) 

Regards,





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


[Talk-transit] Proposed Feature - RFC - Public Transport

2010-12-08 Thread Dominik Mahrer (Teddy)

Hi,

I want to invite everyone to comment the (in central europe) already 
widely used new Public Transport Schema:


http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport

Teddych


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