osm-relatify
osm-relatify copied to clipboard
More Platforms with one stop_position
Hi,
I noticed that when there are two linear platforms (public_trasport=platform + highway=platform) with the same stopping point (public_transport=stop_position + highway=bus_stop), Relatify only shows one of the two platforms.
(See https://www.openstreetmap.org/node/4750964544)
If the stop is a point ((public_trasport=platform + highway=bus_stop) this does not happen (see https://www.openstreetmap.org/node/984005769).
Is this a bug? or is the user the problem? :-)
Greetings
Hey! In the Relatify algorithm, highway=bus_stop is the primary element. If there's a single highway=bus_stop, only one bus stop will appear in Relatify, and the nearest platform will be designated. The proper fix is to map two distinct highway=bus_stop nodes, each on the respective correct side of the road — not at its center.