Route GuidesRoutes City GuidesCities Map Log in

Routing issue

12 Jul 2019
by dima
in forum
Find a better bike route. Try our map & route-planner »

Become a supporter

Hi. I tried to route something in Death Valley, and it looks like is refusing to route a particular road. I looked at the OSM data earlier, and it's not obvious to me what the issues is. Can you take a look, in case this is a bug in something? Route:,-117.8517469&toLL=36.3017289,-116.414066

There's a direct dirt road between the two points, but is refusing to go below the lower warm springs. Everything here is unpaved, but that includes the roads it didn't refuse to route.



Fri 12 Jul 2019, 22:54

Out of curiosity I had a look at the link above and could not work out the route you were hoping C.T would create. Bigger clue needed, please.

Sun 28 Jul 2019, 17:44

Sorry about that. The URL didn't move around as I moved the pins around. Looks at this:

There exists a road in OSM directly between the two pins. Thanks.

Sun 28 Jul 2019, 19:04

Guessing here because I’m on mobile and it’s difficult to find that way on OSM, but I suspect the missing way is tagged simply “highway=track” with no surface information. In the US, ignores such tracks because they may very well be unrideable. Adding surface or tracktype tags should allow to route along it after the next update. 

Sun 28 Jul 2019, 22:24

Thanks for the reply. That is certainly it. Two thoughts:

1. In the US there are a LOT of dirt roads that are tagged only as highway=track. Ignoring them limits the usability of the system, since many valid routes are omitted, such as the one here. Yes, adding them will create an opposite problem: routes that use nonexisting roads. In that case the user at least has the option to move pins around to bypass a section they know is missing. With the way works right now, I can't even semi-manually fix the route.

2. If we do want to ignore such ways, can we adjust the rendering to indicate this to the user? If you zoom-in on the Death Valley link above, you'll see both routable and non-routable ways drawn in exactly the same way, which isn't helpful.


Mon 29 Jul 2019, 07:49

Yep. It’s a deliberate trade-off – omitting bare highway=track is a little inconvenient but greatly reduces the memory needed for routing (which is 50GB-ish for Europe and North America, and would almost certainly tip over into needing a new server if bare tracks were included).

You can plot a route including the missing section using the “Go direct” feature – put a via marker at each end, then click the first one and choose “direct”. 

Good spot on the cartography – that certainly shouldn’t be the case. (Rideable tracks are meant to be shown as dotted brown.) I’ll try and work out what it’s doing there. 

Tue 30 Jul 2019, 05:07

Thanks for the "direct routing" pointer. I didn't know about it, and it's a decent workaround. One request: as a workaround to this particular problem, it'd be useful to be able to place markers in non-routable areas (currently pins snap to areas on the graph). These pins are ignoring the graph anyway, and it'll allow manually-routed sections to approximate reality.


Tue 30 Jul 2019, 17:53

Definitely. I’ll confess that the part of the routing engine (OSRM) that does that processing isn’t a part I fully understand, so unfortunately it’s not something where I can happily say “oh, I’ll fix that”. But it is something I’d like to implement. 

Sun 4 Aug 2019, 08:56

I had a bit of a virtual explore of that area using the few photo's in google street view. It's beautiful.