Public transit stations and stops can be modeled using a relation tagged with
Description of such relations can be found from this OSM wiki page.
OpenTripPlanner detects such relations and applies some special logic to them. Nodes, which are linked to street network, and are located within platform areas, are interpreted as connection points from the street network to the platform. OTP automatically links such points with the platform geometry in order to improve walk routing.
For example, an elevator or stairs can connect a normal street to a railway platform above it. There is no need to add an explicit edge, which connects the entrance point with the actual geometry of the platform.
An example: Huopalahti railway station in Helsinki
- Add platforms, which need special linking, as members of a
- Set role=platform to these platform members
- Platforms must be also proper areas, tagged as routable highways and
area=yes. Also a single tag
- Model required entrance points and stop linking points inside platform geometry and make them relation members, too.
- Entrances can be tagged using
- Stop linking points should be tagged as boarding locations, e.g. using the tag
- Connect entrance points to the street network. Stop linking points can have reference tags to instruct how to link them with public transit stops as instructed in the document about boarding locations.
- Platform and its entrance point must have the same
leveltag value. Also matching by default value zero is accepted.
leveltag is not set,
layertag is also considered