Skip to content

Improve trail planning: option to re-order route anchors#629

Draft
slothful-vassal wants to merge 17 commits intoopen-wanderer:mainfrom
slothful-vassal:advancedTrailPlanning
Draft

Improve trail planning: option to re-order route anchors#629
slothful-vassal wants to merge 17 commits intoopen-wanderer:mainfrom
slothful-vassal:advancedTrailPlanning

Conversation

@slothful-vassal
Copy link
Contributor

@slothful-vassal slothful-vassal commented Oct 19, 2025

Hi,

I have tried to improve the trail planning capabilities by adding a drag-and-drop list of trail anchors, which allows the user to change the order of the route anchors.

I hope you like it!

grafik

Kind Regards.

@slothful-vassal
Copy link
Contributor Author

I have removed the 'snap to path' toggle again

  • makes no sense (and was not working), if 'follow paths' is disabled
  • should always be active, if 'follow paths' is enabled, which is the new behavior

@wendelinism
Copy link

I was just going to request this feature. Great, it's being worked on!

@slothful-vassal slothful-vassal marked this pull request as draft October 22, 2025 13:19
@slothful-vassal
Copy link
Contributor Author

Back to draft, because of rate limitations by nominatim. We need a rate limiter for request against the nominatim demo instance, max 1 request / second is allowed. Before, this wasn't a big problem, but when retrieving locations for the anchors, we have too much traffic. This limiter has to detect whether the demo or an private instance is used.

@slothful-vassal slothful-vassal marked this pull request as ready for review October 22, 2025 18:15
@slothful-vassal
Copy link
Contributor Author

  • rate limit for nominatim calls added
  • request cache for nominatim calls added
  • retry added for nominatim calls added (sometimes, I've got ERR_HTTP2_SERVER_REFUSED_STREAM)

@slothful-vassal slothful-vassal marked this pull request as draft December 20, 2025 15:52
@slothful-vassal
Copy link
Contributor Author

  • fixed several issues
  • fixed some speed issues

New Feature 1: option to add the location you searched for to the route (as trail anchor)
grafik

New Feature 2: option to use a POI (e.g. camp ground) as a route anchor
grafik

@slothful-vassal slothful-vassal marked this pull request as ready for review December 20, 2025 17:02
@slothful-vassal slothful-vassal marked this pull request as draft December 21, 2025 17:10
@slothful-vassal
Copy link
Contributor Author

state handling still not optimal

@slothful-vassal slothful-vassal marked this pull request as ready for review December 29, 2025 21:58
@slothful-vassal slothful-vassal marked this pull request as draft February 19, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants