Loading...
I got the two changes in:
Route Finder Progress Bar When you calculate a route, a progress bar will show up in the upper left. As mentioned in a prior post, this only shows the percent of legs completed, so it isn't necessarily a good indicator of time remaining. It will start marking progress after 5 seconds, so if the route takes less than 5 seconds to calculate, it won't show anything. Also, as mentioned previously, since it just shows the percentage of legs completed, this pretty much useless for the free version or for calculations with just a start and destination point.
Option to Use Old, Faster Calculation Method In the Route Finder settings, you will now see an option to change the calculation method. The "Bidirectional" method is the old, faster method. In most cases it will be the same as the "Normal" method, but in some cases it will not choose the optimal route. If you are using the bidirectional method, check the results to make sure the route calculated makes sense. The route statistics will be accurate, just the route chosen could be different. I set the normal method as the default, so if you want to use the bidirectional method, you'll have to change it in your settings.
In doing all of this work, I found quite a few other things that I can improve. I put some performance improvements in now, but the rest I will slowly work on and incorporate. If you notice anything that isn't working like it should, let me know.
I'll be updating it soon with both the progress bar and both options. Voyageurs is on my list to add, though I'm not sure when I'll be able to get to it. It will probably be sometime after the Outdoor Adventure Expo in April.
I find it a useful tool for comparing one rout to another.
Just to keep everyone updated on this - I think I found a way to put in a progress bar to show how close the Route Finder is to finishing. It won't be perfect, but it should be better than it is now:
I'm still working out some "minor kinks," like having it crash the entire website . I think I'm figuring it out, though, and making more performance improvements along the way.
Ben, is it faster to calculate a full route all at once? or add a few items at a time?
I don't think there is any way for me to show a percentage - I don't think there would be any way to calculate how close it is to finishing. I will work on making the "I'm working" icon more prominent, though. I don't want to show it in the middle of the screen since I want to keep the map usable while it is calculating.
As for the full route or adding a few items at a time, each route will only calculate as fast as the longest leg. The legs calculate simultaneously, so there isn't any benefit to calculating the first part, then adding the second, etc. The only way to make it calculate faster is to make the legs shorter.
If you meant whether it is better to add intermediate points, it depends. If the route is a fairly straight line or a short distance, it should calculate quickly. However, if the path weaves around or is very long, I recommend adding a few intermediate points to make it faster. Two examples of the extremes:
1) There is a straight path in Woodland Caribou going from the souteast portion of the park to the northwest. You can route using just two points, and it calculates quickly despite being very long.
2) Snowbank Lake to Lake One (or Moose Lake or other entry points in that area) cannot be calculated with just two points. The Route Finder keeps trying to go in a straight line between the two. It tests every possible straight route before taking the correct, "long way" around. The time limit usually ends before it is calculated. If you specify one intermediate point such as on Alice, now the Route Finder will work towards Alice and find the route easily.
I stress adding just a few points because the Route Finder doesn't need too many points to greatly cut down on the calculation time. I sometimes see people adding every portage along the way. I've seen lists that are 30 or more destinations long. While this will calculate quickly, I'm sure it took about a half hour to add all the points to the list (and it is really hard to figure out which point caused an error if there is one). The Route Finder really only needs one or two extra points to really cut the calculation time down.
After you calculate a route the first time, it is saved in a file so it can be loaded quickly the next time (for you or anyone else). I clear out the saved files when I make changes to the Route Finder, portages, or campsites, though, so the files aren't saved forever. (I wrote a blog post about this a while back.)
Tip - If you are using the new routing mode, wait until the gray preview is finished loading before calculating the route. It will almost instantaneously appear. This is because the "preview" is actually calculating the route. If you press calculate before the preview is done, it will start to calculate the route again. If the gray preview line appears while the route is calculating, you can just press calculate to make the route appear instead of waiting for the calculation to finish. However, the preview has a 30-second time limit while the full calculation has a 2-minute limit, so sometimes the preview won't appear but the route will still calculate.
Did I answer your question? I'm always happy to talk about how the Route Finder works (I wrote a blog post about that, too ).
I had thought there was a change, as I noticed the increased wait time. I do agree with the above statement, is there anyway to show a % so I know its moving along? maybe in the middle of the screen? or would that just be weird?
I changed it a little over a month ago to the accurate but slower method. I will also put in an option to use the old "fast but less accurate" method. As I said earlier, it usually chose the correct route, but in some instances it didn't. The route statistics (time and distance) were accurate, it just wasn't the fastest route. A couple of instances come to mind:
As for the indicator, would you like to see it in a different spot, a different color, or a different indicator for the Route Finder? Right now I use the same indicator for loading map tiles, campsites, portages, Route Finder, etc. I could create a second, different indicator for the Route Finder.
I value accuracy over quickness. However, I would like to see the indicator that shows it's calculating be more prominent, so it's easier to see it's working.