OSM with new route planning extra for E-bikes

E-bikes and pedelecs are not bicycles!

I demand:

A separate, new category for electric-motorized bicycles in Open Street Maps Routing!

Otherwise, traditional cyclists are presented with unrealistically short travel times that are misleading!

thx

bicycle #ebike #FakeBicycle

3 Likes

I think you know as well as I do that you can’t just demand things from OSM, or rather the community.

The relevant routing backend is OSRM. That’s probably the better place to ask.

In any case, what you likely want is a different profile rather than something completely new.
Relatedly, Graphhopper has 3 different bike profiles on their website, so maybe that’s a better fit for you.

14 Likes

Also note that in the settings of GraphHopper Maps we have further “fine-tuning” modes. E.g. if you click on racingbike you can choose between racingbike and e-cargo bike which might come closer to what you want.

Yes they are!

:popcorn:

3 Likes

I am not sure at all I understand what OP is about - Are ETAs too little as of now?

E.g this route OpenStreetMap - 700m elevation in one hour? No problem with a motor that quadruples biker input, at least when you stay on track (pun intended.)

PS: The path taken, where it changes from highway=track to highway=path, certainly will not make the journey take less time. You have to haul your bike there on your shoulders, and even a light weight carbon frame will not make you go faster there than on the track, regardless of muscle motor or electric, even though shorter.

PPS: Also going Richardsweg (20+% incline acc. to administrative GIS) in the beginning not muscle-biker-friendly. Without appropriate gears a sure case for pushing, better go Anton-Rauch-Straße then Holzgasse, more distance, but less steep, almost certainly quicker too. So well - current suggestions already optimized for electric support?

Different topic, but I’m working on an improved speed calculation regarding the incline, which gives 1h 26min in this case here instead of 55min, which automatically fixes the issue with the path too. Or do you think this is still too fast? The assumption here is a hobby biker (150 W) with a max speed of 20kmh for flat roads on asphalt.

1 Like

Honestly, I understood the top post as a complaint, stating that the travel times reported by OSM routers neither are to beat nor to equal for “traditional” cyclists, i.e. that they are actually e-bike ETAs, and should be split into a different category, otherwise … read above.

OSRM gives 37minutes for the route I posted above and 38 when going down. Obviously, incline not honoured at all. But even the GraphHopper estimate 58min still quite steep. I think avid cyclists can equal that – hobby bikers that ride to make performance miles (Leistungskilometer in German) or people that just happen to be sportive for other reasons. People just in for the scenic view and the Kaspressknödel at the hut certainly not, at least when not on a pedelec.

PS: 150W for one hour is not the same as 150W for two hours cycling! But I guess that is hard to turn into an algorithm.

PPS: The mentioned path section is informal, shouldn’t that in itself be worth an extra penalty?

Geovelo has Option E-Bike :


Schön und gut, aber was willst du damit sagen? Ohne diese Option

Ich seh da: Die Router der osm.org Seite sind auf jetzt schon auf E-Bike ausgerichtet? Oder kennen die irgendwelche Abkürzungen? Wozu braucht es dann eine Option dafür?

I’d go for 120W. Last weekend rode on an e-bike with Purion200 control and the performance display enabled. Curiously, in the flat section I was around 150, while in the steep section quite below – perhaps because the motor stops assisting at 25 kmh? 150 for even half an hour will make your hobby biker sweat. But you sure know better what audience the router caters.

Just so you know, geovelo gives 2:45 for non-e-bike from Grenobler Brücke to Rumer Alm and 40min with E. According to this router I am quicker when walking than cycling.

E-Bikes actually a bit complicated, I guess. Today I rode this route. Change mass to 100 and bikerpower to 475 and you get the time the ride took. The board computer showed, that I contributed 137 W average, it also told me the battery sunk by 350 Wh. But bikerouter tells me, that only 250 Wh are needed for this trip. So did i consume 100 Wh instead of putting in 85 Wh (137*37/60)?

BTW: Graphhopper ETA 1:14 h - use second suggestion in line with what people manage, that ride that or similar trips at least once a week. I’d call them avid bikers, not only MAMILs, but the dress, you know when you see it, 200W bikerpower in bikerouter.

For what took me 37 minutes Geovelo suggests for E-bike a very bad route to be done in 1:37 h.

A good E-Bike router should be able to tell me how much battery a ride will consume. Anybody know of such?

1 Like

It took me a while to polish the version and make it conceptionally simpler but also cleaner and better integrated with existing code and assumptions like the flat speed of bike leading to 100W instead of 150W that I used previously. (racingbike uses 160W and mtb 140W)

The code is here, but probably more important you can try it out if your favorite route is within Europe here.

Please note that although you can change the power in the user interface under settings, the usage is not yet correct for ebike as these bike types have a cut-off speed (25-32km/h), which the model currently does not consider.

@Hungerburg I’m really curious about your feedback. See e.g. this route which now shows the more realistic 1h55m instead of 54m.

(Note that racingbike time estimates are unrealistic for unpaved surfaces because of an unrelated issue.)

1 Like

I remember having travelled that route in a shy bit over 1h when I did not use a powered bike, heavily sweating at the top. I ride 5000 km/year on this unpowered bike. I was told that there are pedals available that measure biker performance, but they cost 1000+ Euros and can only cooperate with Garmin stuff. Last year I got me a powered bike and with the help of a shop managed to get a tab in the UI that shows my performance. They certainly have sensors, because that is necessary to keep in line with the multiplier the manufacturer self-imposes on. Since then I learned to love that tab. It allows me to set a desired performance level of mine. I learned, that ~100 W is amenable for a commute and can be sustained quasi forever. ~125 can be sustained for 30 minutes with ease still, but demands a lot of shifting gears, depending on incline to keep at that level, yet will make me leave others (just as sporty persons) on powered bikes with the same drive unit behind. No idea how accurate the readings of these sensors are. (Bosch Performance Line CX I guess.)

PS: The route from link above still goes over Richardsweg, which is quite steep, a push for most people, while the alternative over Anton-Rauch-Straße and Holzgasse is much more amenable to cyclists: I’d say: Pedestrians are very sensitive to distance, cyclists much less so, cyclists sensitive to incline rather than distance :wink:

Penalizing steeper roads more is tricky as you can also see in this example (it is a really good one :) ).

Two approaches I built to make the detour happening and both not only avoid Richardsweg, but they also do the detour over Wurmbachweg:

I’m unsure but from satellite imagery this second detour is suboptimal or would this be reasonable?

From just the elevation data the start of the section which is then avoided is indeed a steep 16% incline which could be avoided, but likely this is just an elevation artifact and such artifacts would then make a bigger problem if we additionally penalize them (additionally to a slower speed).

Funny coincidence, I was just experimenting with this: For the short section to “Eckenried” there are just three variants:

  1. What the planner says - GraphHopper Maps | Route Planner
  2. Shortest route - GraphHopper Maps | Route Planner
  3. Route with least incline - GraphHopper Maps | Route Planner

Looking at the plot at the bottom: 1) has sections with 18% incline and does not produce a “steep” warning. 2) has 21% and warns “steep” 3) is much longer, but difference in time very little, 11% incline maximum. On a muscle bike I will always take this variant.

I looked at the bottom panel “average speed” plot - it says 2.2 in the steep sections. Does that say km/h? This means pushing? At that speed a bicycle is unstable and will tilt. That will make variant 3) the only “no dismount” option :wink:

More in next post.

Note, that 3) has two via nodes, because the detour at the bottom is truly a nuisance. Two times crossing a secondary road 110 m apart seems overkill to get at a less busy street.

Indeed, Schrafflstraße there has a steep section, there even is a “13%” warning triangle sign when coming from top. Perhaps the detour a nice way around that. I never rode that. Took a measure in administrative GIS, 6.7° (11.75%) incline too, so I guess not a game changer.

This route to Schweinsbrücke goes straight - GraphHopper Maps | Route Planner - Looking at the plot, shortly behind Wurmbachweg it shows 16.5% for a very short section, like 2 meters or so? The OSM ways mostly align well with the 50cm model of our local administration. This gives me 7.5° (13.2%) there.

This detour currently is mandated by construction works for cyclists when coming from north-east :grinning_face: My guess, this has nothing to do with incline but with scenery? It is unreasonable when just incline considered.