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. #17809

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).

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

DmitryAlexei commented 1 year ago

Bus route 68R021 MARCKOLSHEIM - r.Maréchal Joffre => COLMAR - Gare SNCF: https://www.openstreetmap.org/relation/16090520 (edited 20 days ago) https://www.openstreetmap.org/relation/16089371 (edited 10 days ago) Route ends on the maps border Related with https://github.com/osmandapp/OsmAnd/issues/16569 According to comment below it's ok https://github.com/osmandapp/OsmAnd/issues/16569#issuecomment-1498868354

tenzap commented 1 year ago

What is not ok is that I have 'france grand est' map installed, not 'france grand est bas rhin' which is a subpart of the former.

DmitryAlexei commented 1 year ago

@tenzap same result with France grand est map

tenzap commented 1 year ago

I'm not sure I understand. Are you saying that there is no issue or that it is fixed?

DmitryAlexei commented 1 year ago

@tenzap If you haven't got a map, so there is no PT stop

tenzap commented 1 year ago

According to comment below it's ok https://github.com/osmandapp/OsmAnd/issues/16569#issuecomment-1498868354

With "it's ok", are you saying that there is no issue or that it is fixed?

If you haven't got a map, so there is no PT stop

Sorry, I don't understand what you want to say.

It looks I have the same problem as in #16569 and the maps of both areas are installed, so the stops of the bus route should be displayed together for both areas.

DmitryAlexei commented 1 year ago

@tenzap This issue and #16569 are related.

vshcherb commented 1 year ago

Merged to https://github.com/osmandapp/OsmAnd/issues/16569