osm-relatify icon indicating copy to clipboard operation
osm-relatify copied to clipboard

More Platforms with one stop_position

Open ManueleRa opened this issue 1 year ago • 1 comments

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

ManueleRa avatar Jan 08 '24 19:01 ManueleRa

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.

Zaczero avatar Jan 09 '24 01:01 Zaczero