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

Seems to sort platforms in the wrong order some times

Open JesseWeinstein opened this issue 2 years ago • 2 comments
trafficstars

Specifically, in this changeset: https://osm.virtuelle-loipe.de/history/?type=relation&ref=8338998

The correct order of nodes is '61, '55, '74 (which is what it had before that changeset), but that changeset (which Relatify did automatically), re-ordered them. Not sure what's going wrong here!

JesseWeinstein avatar Aug 12 '23 14:08 JesseWeinstein

Could you please provide me links to nodes by which you mean '61 '55 '74, I am not used to this sort of schema. Thanks for the report!

Zaczero avatar Aug 12 '23 14:08 Zaczero

The relevant function seems to be: sort_bus_on_path. The three nodes I meant were:

https://www.openstreetmap.org/node/1399782961 https://www.openstreetmap.org/node/1399782955 https://www.openstreetmap.org/node/1399795674

The link above to OSM History lets you see that the order changed between version 45 and 46 of that relation.

JesseWeinstein avatar Aug 12 '23 15:08 JesseWeinstein