osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.68k stars 1.02k forks source link

List of stops ends unexpectedly (bus route ptv2) at zone border. #17810

Closed tenzap closed 1 year ago

tenzap commented 1 year ago

When looking at the bus stops of a bus route, it seems that when there is a border of an administrative zone between the stops/platforms then the list of stops in osmand will end at the border although there are stops afterwards.

In my setup I have installed 'France - grand est' map. This map covers the administrative zone 'Haut rhin' and 'Bad Rhin' (and a few others).

Select stop named 'MARCKOLSHEIM - Joffre' at 48.15964° N, 7.54412° E

Select the first route "COLMAR - Blaise Pascal => MARCKOLSHEIM - Joffre". You will notice that the list of starts at ELSENHEIM - Leclerc while it should start at COLMAR - Blaise Pascal and the stop just before should be 'GRUSENHEIM - Pompiers' at 48.14782° N, 7.48888° E. Apparently only the stops in the administrative zone 'Bas-Rhin' are listed.

When selecting bus stop 'GRUSENHEIM - Pompiers' there is the same problem. Only the stops in administrative zone 'Haut-Rhin' are listed (from COLMAR to GRUSENHEIM). The stops from ELSENHEIM to MARCKOLSHEIM are missing.

It is expected that for the bus route there is not this split.

Btw this route has only members having role stop and platform, but no member with an empty role (ie. The itinerary of the route is not set, only platforms and stops are defined).

Screenshot_2023-08-03-17-52-02-620_net osmand plus_1_1_1

Screenshot_2023-08-03-17-52-19-957_net osmand plus_1_1

Environment OsmAnd Version: 4.4.7 Android/iOS version: android 12 Device model: Xiaomi redmi note 9s

tenzap commented 1 year ago

Duplicate of #17809