It seems like the "Routes" routing requires the route to stay on bike routes. So if you're routing over any distance it often fails as you need to get off of actual routes for a few km. And it won't route to specific locations.
The "Standard" routing often requires 100 small adjustments to stay on a EV or other route.
Comments
There is a trick to do this on desktop.
Plan your route in Routes mode. Add a via point before the place you want to depart from the route, and then another one afterwards.
Then click on the first one and change “Go on routes” to “Go any way”.
That will change the section between the two to standard ‘any’ routing, which means you can drag it off the route to anywhere you like.
(The mobile apps will honour any route like this but don’t have the ability to plan it yet, which I will fix when I have some hours in the day…)
Hey, thanks first for being such an awesome dev that actually responds to people and fixes/implements things! It's awesome.
The issue I'm having here appears to be a data problem though, and routes routing is too "picky" to get past it. For example, you can't use routes to get from Riga, Latvia to Klaipeda, Lithuania. The reason for that is that about 50km north of Klaipeda, the route has a short ≈100m segment that is "broken" (It's literally on the country border if you are trying to find it). This leaves the routes mode to just get confused and say it can't be done.
That's why I said the routing is "finnicky". I quickly found a dozen places where it should work but just doesn't. I'm assuming they're all similar data issues, and given that it's nearly impossible to track down and find all of those, the mode should, IMO, be able to handle small things like this.
And to give another example, if you try to route the other way from Riga⇒Klaipeda, it can't route through a town called "Silute", because there's a ≈2km break in the route. I've found this to be rather common that routes only start at the edge of a town
It does actually try to ‘heal’ breaks like this – there’s a whole big chunk of the routing process that looks for discontinuities in the routes as mapped in OSM, and automatically makes a connection between them. The process isn’t perfect but it’s something I’m working on refining.
Just wanted to show you this, since it's hilarious IMO 🤣:
https://cycle.travel/map?from=Krakow&to=Tarn%C3%B3w&fromLL=50.0619474,19.9368564&toLL=50.0123784,20.9880739
(change it to routes)
Also, minor thing -- routing mode should probably be a querystring param
That’s fun! It looks like the routes in Kraków are in an “interesting” state – various abandoned routes along the north bank plus some under-construction routes too. Needs a bit of work in OSM really.