osmandapp / OsmAnd

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

Beginning of the track by default #20183

Closed Anthiel closed 3 weeks ago

Anthiel commented 4 months ago

Describe the idea (required)

Add an option to get the "start the track at the beginning" by default and something to stay on the path.

Tell us about the expected behaviour (required)

The track should be followed entirely, by default. When the itinerary is re-calculated, the track should be followed and not be switched again on the quickest road to the end position of the track.

Tell us about alternatives you've considered (required)

Everytime, I have to switch this option (from the closest point to the beginning of the track).

If i'm taking a shortcut, the track is recalculated, I have to stop, go to option, and follow the entire track to keep my roadtrip and not just get the quickest road to the end point of the track :/

Maybe just get a new option, to get the "closest point to the track " but not the end point of the track. In that way, the entire track is followed, even if at some point i'm taking a shortcut.

Untitled

If I'm the red cross, and I want to do the green itinerary, Osmand will do the blue one :( So I will switch the option, as always to do the itinerary start at the beginning of the track (need a default option here)

If during the green itinerary, i'm doing a small mistake (red path), it will change the road to the blue one again: Untitled So we need something who will keep staying on the green path.

Context (optional)

I love osmand, but for navigation on a GPX file, it's not reliable, I have to check every 10 min that the app didn't change the road planned. I don't need a "waze" or "google map" navigation, I need something who can follow a track without changing each time if I'm not 100% on the track (because the road in the city is closed etc). Thank you for your work, Osmand is perfect :) except for that.

yuriiurshuliak commented 4 months ago

From your description, it seems like when you deviate from the track, OsmAnd automatically recalculates the route, potentially choosing the quickest road to the end position of the track instead of staying on the planned itinerary. This behavior may indeed be influenced by the circular nature of the track.

Please keep in mind that if you deviate from the track, OsmAnd should automatically recalculate the route to guide you back on track.

To assist you further, please provide us with the track where you experienced the issue, specify your OsmAnd version, and describe the steps to reproduce the problem.

EssBee59 commented 4 months ago

Hello, Did you try to deactivate the route recalculation? (parameter for routing)

yuriiurshuliak commented 4 months ago

@Anthiel To clarify, we had a lot of changes in version 4.7 to the algorithm of attaching to the road and track navigation. To reproduce the issue you're experiencing, we need the specific track where you encountered the problem and the app version you're using. Additionally, you can test the issue on our beta version to see if it persists: https://osmand.net/docs/versions/nightly_versions#google-play-beta-builds

vshcherb commented 3 months ago

As I understand request is to change default parameters to GPX setting. Probably to avoid confusion we could store the last selected option howeve rnot clear for all tracks or selected track. In 4.8 default route approximation is introduced we also could potentially add option there

vshcherb commented 1 month ago

I reread the issue, so I can reiterate it differently. You didn't follow the track at the beginning however you need to set option "Navigate to closest point" cause in the end of the track you don't want to start it over. Though until you started the track you still want to go to the first point which I think the option "Beginning of the track" is about and we made it work.

To do for now: