Activity routes beta testing needed

Could you please post the activity IDs. I need to check that the difference is “expected” behaviour.

Perfect route matching would, of course, be the gold standard, but unfortunately, it’s impossible to cover all edge cases. If “linking” could be implemented at the “Route ID” level, it wouldn’t matter whether the new track gets assigned to the original route or the new one—since the Route IDs would be linked.

Without knowing the exact implementation details, this is probably how I would approach the problem … ^^

1 Like

10858 and 10870…
10858 appears to have an orange trace that does not coincide with the red one and for me they are the same routes

Those two are too different. One goes a bit further north and takes a different route near Bergamo.

I think linking routes is the way forward.

2 Likes

Why in this track, the orange line does not follow the red line?

If you look at the 10858 tracks made on November 10th 2024 and December 25th 2024, the orange tracks are different, even if the route is always the same

image

The orange track is the simplified route and the red one is the activity. In the top picture the activity just matched the route (10 out of 10 allowed missed route points). Unfortunately by allowing a percentage of errors along the route this might happen.

1 Like

You can now merge routes from the activity list view and the route list view:

Choose which one to keep. You can’t merge routes that are not similar to prevent user error. I have fixed the “0 activities” bug below but not deployed yet.

Delete (replaced) routes are shown with a line through in the routes list:

You can undelete a route by clicking it and choosing undelete.

If there aren’t any problems with this I am going to wipe all the routes, reprocess routes for all supporters and take this live (finally!).

7 Likes

@david - just tried to merge Route 10194 and 10390 - but got Error:

image

I just wiped out the route data. You need to reload the app. I am about to deploy a job to compute routes for everyone’s recent activities. So wait an hour so and you should have things to test with.

2 Likes

Haha, classic timing! Of course, I just happen to run my tests exactly when you’re purging… :rofl:

But after putting it through its paces, I have to say—it’s looking solid! :+1:t2: Great job! :rocket:

Thanks! And thanks for all the testing. Sorry I had to wipe the routes. This should be the last time that happens.

2 Likes

One really cool addition to the Routes feature would be a graphical representation of all your routes on a map—so you can see where you’ve already created routes. (Would also help big Times - merging similiar Routes together - got some of my often done Training Routes with multiple “1 Route found” - hard to find & merge them ^^)
Maybe even with a “click on route” option that overlays all activities recorded on that route.

Something like this would be absolutely awesome! :smiley:

:point_right: Feature Request: Activity Overview Map (Combination of Activities & Route Map? :thinking:)

But yeah… you could probably code 48 hours a day and still not get through every feature request! :laughing:

Keep up the great work! :rocket::clap:

1 Like

@david could you maybe check why Route 344807 and 344533 are only matching 62.7% so they can’t be merged? :thinking:
They are pretty close except the Part in “Hochfilzen”?

Hmm … I need to do some more work on this. The issue is that the routes are approximations and sometimes the vertexes are far apart on “similar” routes. I probably need to add in some extra points.

1 Like

Would merging 306474 and 306466 work?

What I mean is, if I do the merge, would the route be recognized independent of how I cross the university campus?

Yes that is correct. I keep a replaced_by_route_id on the “deleted” route. If it matches an activity then the replaced_by_route_id is used instead.

I have improved route comparison. You should be able to merge them now.

2 Likes

looking good, thx! :slight_smile:

1 Like

Thanks @david , I did the tests and it really seems to work well and really well done…I can’t wait to see the same work but done for the intervals or segments created in intervals and then strava I’ll throw it in the trash :grin:

2 Likes

This is live now. Thanks everyone for all the testing!

3 Likes