[Talk-transit] bus route/relations done right
peter.miller at itoworld.com
Sat Nov 14 10:27:22 GMT 2009
On 13 Nov 2009, at 18:59, Jozef Riha wrote:
> hello all,
> i posted the latter text into talk at osm today but then someone
> suggested i should better ask here. so, the post goes like this:
> thank you for your understanding,
> -- begin --
> hello all,
> i'd like to review/finish mapping of bus/tram network during my stay
> in bern (ch) and do this right so that no time is wasted fixing my
> mistakes. i read through wiki pages but there're still some points
> open. for my examples to be more explanatory please open the following
> osm file which i'll be referring to. the download url is
> i consider bus 1 route to be the correct way of entering a simple
> route. backward/forward rules are based on the way's orientation, not
> Terminus A -> Terminus B or vice versa orientation just as the wiki
> says. what to do though when it's not really clear what way does the
> bus stop belong to like in bus route 2? how do i know if it's forward
> or backward role i should use when i don't know to which way the bus
> stop is connected. consider that i may not be able to change
> orientation (situation: oneway for cars, buses can drive both
> directions). also, does the ways (segments) in relation need to be
> ordered or this is mandatory for bus stops only?
I will answer from my perspective (note that I haven't opened your OSM
file as I lack the skills to deal with it)
Ways can be added to the relation in any order.
Ways that are only used in one direction should be added with a role
of 'forwards' or 'backwards' as appropriate in relation to the way on
which vehicles run along the way. If vehicles run in both directions
for the route then leave the role blank. If they only run in the same
direction that the way is oriented then the role should be 'forwards'.
If it goes the other way it should be backwards. Personally I normally
turn ways around if possible so that the buses go 'forwards' where
possible for convenience - As you say, you have to be careful about
doing this and should avoid turning ways round it if there are any
orientation-specific tags on the way such as one-way and that it when
you use backwards.
I have not been adding bus stops to the routes, however it is not
really possibly to add the stops 'in order' since there are likely to
be a number of different variants for the route (in both directions,
short running and deviations off the main route for special reasons -
market days, end of school day etc). I suggest that they can be added
in any order.
> next thing. i have seen many osm users create bus routes such as route
> 4, while i think the correct way is route 3. am i correct?
Here are some routes that I have added:
I hope that helps and happy mapping!
> thank you for your comments,
> -- end --
> Talk-transit mailing list
> Talk-transit at openstreetmap.org
More information about the Talk-transit