Cycleway smoothness

61 views
Skip to first unread message

slackline

unread,
Oct 31, 2021, 7:21:31 PM10/31/21
to OSM Android bikerouting
Hi,

I was notified by a friend of the following project that attempts to use data captured from cycling to estimate the quality, in terms of smoothness, of a given cycle route...



It's a bit dated as its written in Python 2.7 which has reached its end of life, but it made me think of two things, the first being BRouter, the second being how it might be incorporated into OSM/BRouter in some manner.  I know there isn't currently tags in OSM to define the quality of a way, nor is BRouter able to use such information (since it doesn't exist).


I should note that I've not yet tested the algorithm in anyway and do not have the requisite skills to translate it into an application of its own (I'm a Data Scientist and have work/life that prevents me from having sufficient time to learn to write applications for smartphones).

Just thought I'd flag it up on the off-chance someone can use it as its an interesting idea. I'd need to purchase a mount for my phone and try capturing and processing some data myself to find out if the methods are reasonable and worth pursuing further.

slackline

Ben Rypstra

unread,
Oct 31, 2021, 7:46:04 PM10/31/21
to OSM Android bikerouting
Hey, it does seem that there's a key for cycleway:smoothness = * as per this part of the wiki: https://wiki.openstreetmap.org/wiki/Key:cycleway#Supplementary_details

I have no idea how widespread it's use is, and of course it's a mapper entered field that would be very subjective. But it would be great for routing apps. An app could have a preference for smoother routes, which would be neat.

Volker Schmidt

unread,
Nov 1, 2021, 3:54:45 AM11/1/21
to Ben Rypstra, OSM Android bikerouting
For a couple of years now I have been using the surface and smoothness tags for cycling infrastructure and minor roads where I map (Padova, Italy). And others do so as well.

--
You received this message because you are subscribed to the Google Groups "OSM Android bikerouting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osm-android-biker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osm-android-bikerouting/d8bb3ca3-b037-456c-9470-d597749ae4dan%40googlegroups.com.

Poutnik Fornntp

unread,
Nov 1, 2021, 5:25:05 AM11/1/21
to Volker Schmidt, Ben Rypstra, OSM Android bikerouting
In my understanding, surface=* and smoothness=* is usually mapped and profile evaluated for highway=* themselves, not for  cycleways as highway feature ( highway=*  cycleway=*)

Dne 1. listopadu 2021 8:54:45 Volker Schmidt <vos...@gmail.com> napsal:

slackline

unread,
Nov 1, 2021, 5:19:14 PM11/1/21
to OSM Android bikerouting
Cool I hadn't realised/searched to see if there were tags for smoothness thanks all for the heads up on that.

It would be interesting to see how the subjective ratings (https://wiki.openstreetmap.org/wiki/Key:smoothness) compare to the scores predicted by this algorithm.

Maybe I'll ask for a bike mount for my phone for xmas and find out.

Volker Schmidt

unread,
Nov 2, 2021, 6:06:54 AM11/2/21
to slackline, OSM Android bikerouting
In this context

Taginfo:

42409 cycleway:surface
7279 cycleway:right:surface
3352 cycleway:left:surface

1628 cycleway:smoothness
3055 cycleway:right:smoothness
1547 cycleway:left:smoothness

2847 cycleway:width
2326 cycleway:left:width
4085 cycleway:right:width





Poutnik Fornntp

unread,
Nov 2, 2021, 7:07:30 AM11/2/21
to Volker Schmidt, slackline, OSM Android bikerouting
I revoke my comment seeing they have it.
It least cycleway:surface= is considered by Brouter.



Dne 2. listopadu 2021 11:06:55 Volker Schmidt <vos...@gmail.com> napsal:

Reply all
Reply to author
Forward
0 new messages