Implement area routing for public transport platforms

Author: xnyhpsCreated Sep 20, 2026Updated Sep 20, 2026
LabelsFeature Request

I'm trying to use OSRM for public transport transfers. I'm very happy to see that routing over pedestrian areas was implemented in #7161! Thank you very much for that.

I understand that this is a new feature with still some known outstanding issues. I ran into a few myself specifically for routing over a public_transport=platform area. I changed the profile to treat public_transport=platform with area=yes the same as pedestrian areas. That was straightforward.

The issues I observed are:

  • Areas with 1 exit/entrance are discarded. This may legitimately be the real-world situation for platforms, as the boarding point is not counted as an exit and the point I want to route to may not even be tagged.
  • Entrances/exits on inner edges of multipolygons are not counted for this either (common for a staircase or entrance into a building on the platform).
  • Stairs or elevators entirely inside the area are not used (already reported in #7683).
  • Platforms may be adjoined with another platform by one or more edges (quite common with different numbers on each side). Sharing a boundary with another area does not by itself satisfy the entrance requirement, and routes between the areas must pass through shared boundary nodes, which can introduce detours.

If you prefer separate issues for these or concrete examples let me know!

Source: Project-OSRM/osrm-backend