Java program to fix the routing behaviour of the XT(2).

Having Garmin zumo XT problems? there is loads of help and advice in this forum
FrankB
Posts: 451
Joined: 10 Aug 2020 07:22
Has liked: 104 times
Been liked: 133 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

jfheath wrote: 24 Oct 2023 11:54 But it has to be in the gpx file somewhere - so perhaps in the subclass field that is declared with each Via Point ?
Yes, the Map segment number is in the subclass field. But it's not an easy task to decipher. To be safe, I always recalculate the route.
User avatar
Peobody
Subscriber
Posts: 1575
Joined: 20 Apr 2021 13:33
Location: North Carolina USA
Has liked: 117 times
Been liked: 353 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by Peobody »

What happens to the routes on the device when you do map update on the device, do they calculate on next load? I ask because the guys I ride with never seem to clean out their devices. They can pull up routes that were created and ridden many map versions ago.
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
FrankB
Posts: 451
Joined: 10 Aug 2020 07:22
Has liked: 104 times
Been liked: 133 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

I really dont know. I dont take the chance, and always recalculate before I drive the route.
jfheath
Posts: 2837
Joined: 19 Oct 2019 16:17
Location: West Yorkshire, Uk
Has liked: 374 times
Been liked: 797 times
Great Britain

Re: Java program to fix the routing behaviour of the XT.

Post by jfheath »

Peobody wrote: 24 Oct 2023 16:11 What happens to the routes on the device when you do map update on the device, do they calculate on next load? I ask because the guys I ride with never seem to clean out their devices. They can pull up routes that were created and ridden many map versions ago.

That can be a big problem if the last time they used the route was with an earlier Zumo. Zumos like the 590 would calculate a route pretty similar to the BC version. The XT will likely calculate a very different route from the same route points.

To answer the question - Yes, if the map version in the Zumo is different from the map that was used to create the routes, then the Zumo will recalculate the route on import. It often takes quite a while - or seems to. Often 10 times longer or more. Thats about a minute compared to 6 seconds for each decent days ride.

The BC route doesn't indicate which map was used, so if you update maps your routes need to be updated in BC You can do it in one operation. Select the entire BC library. Turn in the filter icon bottom of lower left pane, to show just routes. Select all of the routes listed, right click and select Recalculate routes.

Go away for half an hour.

But the best way is what Frank and I both do. Recalculate every route before you transfer them.

If we remember !
Have owned Zumo 550, 660 == Now have Zumo XT2, XT, 595, 590, Headache
Use Basecamp (mainly), MyRouteApp (sometimes), Competent with Tread for XT2, Can use Explore for XT - but it offers nothing that I want !

Links: Zumo 590/5 & BC . . . Zumo XT & BC
User avatar
Peobody
Subscriber
Posts: 1575
Joined: 20 Apr 2021 13:33
Location: North Carolina USA
Has liked: 117 times
Been liked: 353 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by Peobody »

jfheath wrote: 24 Oct 2023 23:25 To answer the question - Yes, if the map version in the Zumo is different from the map that was used to create the routes, then the Zumo will recalculate the route on import. It often takes quite a while - or seems to. Often 10 times longer or more. Thats about a minute compared to 6 seconds for each decent days ride.
The actual question is:
What happens when the routes are stored on the device and the map on the device gets updated, do those routes get recalculated the next time they are selected to ride? I'm thinking about how frequently a shared route ends up being different on my XT compared to my buddies Nav VI. I routinely clean out my XT, loading from BC before a ride. My buddy keeps the routes on his Nav VI. I'm certain they remain through multiple map upgrades. A recalc on load could explain why a route is different on our devices when we re-ride it several months later.
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
FrankB
Posts: 451
Joined: 10 Aug 2020 07:22
Has liked: 104 times
Been liked: 133 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

Peobody wrote: 25 Oct 2023 00:00 The actual question is:
What happens when the routes are stored on the device and the map on the device gets updated, do those routes get recalculated the next time they are selected to ride?
I have never actually tried to start a route after a map update of CN. (For example 2023.xx - > 2024.xx) But I do know that switching from CN to OSM and vice-versa can result in 'Can not calculate route' when you start the route. Example:

- Calculate a route in BC with CN 2024.20 active.
- Send it to the XT, making sure that CN2024.20 is the only routable map enabled in MYMAPS.
- Start it, no Problem.
- Disable the CN map in MYMAPS, and enable the OSM map.
- No automatic recalculation takes place.
- Start the same route, chances are that you get 'Can not calculate route'.

When I eventually found out that changing the map from CN to OSM or vice-versa was a cause of the 'Can not calculate route' I decided to always recalculate the routes in BC before I use them on the XT.
Should BC not be available, because you're not at a desk with a computer, you can recalculate the route on the XT, by changing the routing preferences. But then the result will often be different from the route in BC.
User avatar
Peobody
Subscriber
Posts: 1575
Joined: 20 Apr 2021 13:33
Location: North Carolina USA
Has liked: 117 times
Been liked: 353 times
United States of America

Re: Java program to fix the routing behaviour of the XT.

Post by Peobody »

Peobody wrote: 25 Oct 2023 00:00 The actual question is:
What happens when the routes are stored on the device and the map on the device gets updated, do those routes get recalculated the next time they are selected to ride?
Yes they do, at the time they get selected using Trip Planner. I just updated to CN NA NT 2024.20 and then loaded one of my Saved trips and one of my Imported trips. Both calculated before the list of route points was displayed. Am I surprised that one of them was changed? Nope, just frustrated by it. I don't know whether the other one was changed. I don't have its track on my XT to compare. What a PITA to have to delete all routes on the XT, recalc them in BaseCamp, and then load them back to the XT, doing the mimport fix somewhere along the way. I should feel fortunate that I keep less than a dozen rides on my XT.

Edit: I forgot the step of verfying each route after the recalculation in BaseCamp.
Last edited by Peobody on 10 Nov 2023 19:41, edited 1 time in total.
2008 Honda GL1800 Goldwing
1995 Kawasaki ZG1000 Concours
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
FrankB
Posts: 451
Joined: 10 Aug 2020 07:22
Has liked: 104 times
Been liked: 133 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

Peobody wrote: 10 Nov 2023 19:16 Yes they do
Learning all the time.Thanks for the info.
Plainmad
Posts: 25
Joined: 16 Aug 2020 06:22
Has liked: 4 times
Been liked: 6 times
Great Britain

Re: Java program to fix the routing behaviour of the XT.

Post by Plainmad »

I’ve just gone to use this Java program and web based one on some imported trips in preparation for an upcoming holiday and they have both said that all the trips need no modification, this is despite all the trips showing as imported and not saved. Anybody got any ideas?
FrankB
Posts: 451
Joined: 10 Aug 2020 07:22
Has liked: 104 times
Been liked: 133 times
Netherlands

Re: Java program to fix the routing behaviour of the XT.

Post by FrankB »

Plainmad wrote: 07 Jun 2024 14:06 Anybody got any ideas?
Just a silly question. Did you copy the .trip files back to XT, making sure you overwrite the originals?