Author Topic: New route-planner!  (Read 19771 times)

Richard Fairhurst

  • on the trail of the little blue stickers
Re: New route-planner!
« Reply #150 on: December 12, 2015, 12:58:28 pm »
Reverse direction is something I'm slowly working on!

Road-only and less 'around the houses' options are unlikely for now. The route-planner works by pregenerating the ideal routes for lots of A-B combinations (a technique called 'Contraction Hierarchies'), which is why it's so fast when dragging a route around - it's not recalculating every time, it's looking up most of a pregenerated route. This requires a lot of RAM - about 30GB for the full dataset. (The pregeneration process needs 128GB - I have a very noisy server in my office which I fire up once a month to do that!)

Adding a new route option would mean another 30GB dataset, which means renting another heavy-duty server, which ain't cheap. There might be ways round it in the future but they're not realistic at present, I'm afraid. I am doing a bit of work to make the routes less wiggly in towns, though - I'm currently engrossed in the internals of OSRM (the route-planning software) reworking its turn logic...
cycle.travel - maps and route-planner

Re: New route-planner!
« Reply #151 on: December 12, 2015, 01:14:00 pm »
Andy - I too had a "problem" with it giving me a circular route in the opposite way that I wanted to go, but I got around this by dragging half of the route out of the way, then dragging the second half to where the first half had been (I hope this makes sense!) and then dragging the first half back to where the second half had been.  It doesn't take long and because the route planner has already sorted the best option out for each half of the route when you drag the route across it goes to where the original route was, and it keeps the original direction of each half of the route  That sounds very complicated but it really is very quick and easy to do.

Re: New route-planner!
« Reply #152 on: December 19, 2015, 01:11:53 pm »
I have just found this tool and love it, so far.   But would it be possible to put some "via's" into the circular route option, rather than having to find them on the map and then creat a circular route then drag to the remembered (or not ) points.

Thanks
Only those that dare to go too far, know how far they can go.   T S Elliot

Cudzoziemiec

  • Solar powered, tea fuelled cycle-wol
Re: New route-planner!
« Reply #153 on: August 22, 2016, 07:36:06 pm »
I've just discovered the "suggest a route" function. Wonderful! I hope to use this for ready-made cycle-camping adventures with my son. Somehow having a pre-planned route, and one that's been "officially" planned at that rather than thrown together by me, is much more confidence inspiring!
An ungovernable laughter, a joyous agitation which makes the summer stretching before you seem like an unrolling canvas on which you might draw those first rude pure strokes that are free. (Capote)

Re: New route-planner!
« Reply #154 on: August 23, 2016, 03:29:31 pm »
Richard: I really like using your site for route planning - the mapping is pretty good, and the route suggestions are great for avoiding busy roads, plus it tells you how much of the route is main road, how much is "off road" etc. so keep up the good work.  But as a newly converted Garmin user I have encountered a problem.  In their infinite wisdom Garmin have decided that the new 20s and 25s will only take .FIT files, or in other words they really only want you to use Garmin Connect for route planning (which is crap).  I only discovered this after buying it of course.  One work-around is that I plan the route, send it to my mate who has a Garmin 200, he loads it onto his Garmin then sends the converted file to me.  It does work, but means me taking the mickey a bit if he's not riding with me.  Is there any way that you can incorporate a .FIT file version in the convert to GPS thingy? (sorry about the highly technical description, I hope it isn't too confusing!  ;D )

Feanor

  • It's mostly downhill from here.
Re: New route-planner!
« Reply #155 on: August 23, 2016, 04:12:43 pm »
All the garmins will accept GPX files.
They will convert them to .FIT internally, as required.

On the Edge devices for example, just drop the GPX in the NewFiles folder.
When you re-start the device it will import the GPX into a FIT file in the Coursed folder, and it will then delete the GPX from NewFiles.

Re: New route-planner!
« Reply #156 on: August 23, 2016, 04:40:49 pm »
All the garmins will accept GPX files.
They will convert them to .FIT internally, as required.

On the Edge devices for example, just drop the GPX in the NewFiles folder.
When you re-start the device it will import the GPX into a FIT file in the Coursed folder, and it will then delete the GPX from NewFiles.

Not the new 20/25 model.  FIT files only apparently, this seems to be a new "feature" of the updated models.  Garmin's own forum does have links to a couple of file convertors that can allegedly be used, but there seems to be mixed opinions as to how good they are.  I haven't had the time to try them yet so I don't know, but I do know that it would have been a lot easier if they had left well alone, but I guess they want to force people to use Garmin Connect for route planning.

Richard Fairhurst

  • on the trail of the little blue stickers
Re: New route-planner!
« Reply #157 on: February 24, 2019, 08:43:58 pm »
Road-only and less 'around the houses' options are unlikely for now. The route-planner works by pregenerating the ideal routes for lots of A-B combinations (a technique called 'Contraction Hierarchies'), which is why it's so fast when dragging a route around - it's not recalculating every time, it's looking up most of a pregenerated route. This requires a lot of RAM - about 30GB for the full dataset. (The pregeneration process needs 128GB - I have a very noisy server in my office which I fire up once a month to do that!)

A few years on and I've figured out how to do a "roads only" option (with only "a very large amount" of extra RAM and not "an extra metric frickton").

So you can go to https://cycle.travel/map and select the little "Paved only" toggle, and it'll stick to roads and paved cycleways. Otherwise it's exactly as the normal routing - it likes quieter roads, tries to avoid hills, etc. etc. You can actually switch routing modes at each via point if you like - select 'paved' or 'any way' in the bubble that appears when you click on one.
cycle.travel - maps and route-planner

Re: New route-planner!
« Reply #158 on: February 24, 2019, 10:15:41 pm »
Thanks Richard, this sounds like a really useful option.  I'm sure I'm not alone in finding cycle.travel to be the best tool for fast and reliable route planning and really appreciate all of your hard work in making it so
Most of the stuff I say is true because I saw it in a dream and I don't have the presence of mind to make up lies when I'm asleep.   Bryan Andreas