Does Avoid Unpaved Roads work?

708 views
Skip to first unread message

Barry Evans

unread,
Oct 25, 2013, 10:52:47 AM10/25/13
to osm...@googlegroups.com
Does the Avoid Unpaved Road check option (Settings/Navigation/Bicycle) work? I have encountered lots and lots of cases where it does not and am beginning to wonder if it works at all? Checked or unchecked I get the same route, even 100 km routes with 10s of options and clear paved/unpaved choices.
 
Thanks

Martin Gregor

unread,
Oct 25, 2013, 1:25:50 PM10/25/13
to osm...@googlegroups.com
Did you check OSM maps if they are tagged as Unpaved?
Martin

Patrick Dailey

unread,
Oct 28, 2013, 10:07:37 AM10/28/13
to osm...@googlegroups.com
It's very difficult to tell whether a road is paved or not from within the OSMP editor, otherwise someone would probably offer to fix that portion of the map for you. Instead the project really relies on local volunteers to help with such details. Changing a road's tag from "unset" to "dirt" is one of the easiest tasks in the project, and it's a great way to get started if you'd like to help out. Please consider volunteering some of your time to the Open Street Map Project at  http://www.openstreetmap.org .


On Friday, October 25, 2013 10:52:47 AM UTC-4, Barry Evans wrote:

C G

unread,
Nov 3, 2013, 5:37:31 PM11/3/13
to osm...@googlegroups.com
As it doesn't work, I use the car mode whem I'm biking in the countryside...
It would be useful that this option allow us to avoid any track/path (like in the car mode, isn't it ?), whether it is tagged unpaved or not.

Maarten Deen

unread,
Nov 4, 2013, 3:01:20 AM11/4/13
to osm...@googlegroups.com
Does OSMAnd specifically only excludes ways that have surface=unpaved (and certain others)? I assumed that highway=track and highway=path indicated unpaved as default.
If not, it would mean a lot of extra tags.

Max

unread,
Nov 4, 2013, 6:32:58 AM11/4/13
to osm...@googlegroups.com

Max

unread,
Nov 4, 2013, 6:50:18 AM11/4/13
to osm...@googlegroups.com
highway=track + tracktype=grade1 is paved (by definition), but I'm not sure, if OsmAnd considers this for "avoid unpaved" option.
tracktype=grade2,grade3,grade4 and grade5 are unpaved (by definition), but OsmAnd does not consider this for "avoid unpaved" option, if I'm not wrong.

Here is OsmAnd unpaved list:
https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml#L345

Regards,
Max

Maarten Deen

unread,
Nov 4, 2013, 8:55:27 AM11/4/13
to osm...@googlegroups.com
If I read it correct then track is included in the avoid_unpaved strategy, irrespective of tracktype:
                <!-- very bad roads -->
                <road tag="highway" value="track" speed="15" priority="0.3" >
                        <specialization input="short_way" priority="0.7" speed="45" />
                        <specialization input="avoid_unpaved" speed="0"/>
                </road>

But I am missing the avoid_unpaved strategy in highway=path.


--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/ww-lKn2EAhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

C G

unread,
Nov 5, 2013, 2:56:40 PM11/5/13
to osm...@googlegroups.com
It seems to me that what you show, Maarten, is for car routing, but not for bicycle.

Maarten Deen

unread,
Nov 6, 2013, 11:55:42 AM11/6/13
to osm...@googlegroups.com
Good of you to point that out. But I didn't show that, Max pointed to that section. I don't really know enough of the routing.xml file to realise that there was a separate car and bicycle section. Now you pointed it out, it is logical.

So that means that for bicycle, there is no avoidance of tracks, only of roads specifically tagged with surface=unpaved.
That seems odd to me. Why assume that a track is unpaved for car routing, but not for bicycle routing?
And it still remains that highway=path is never excluded from routing if you want to avoid unpaved roads. And a path is (IMHO) a lesser road than a track and unpaved by default.




On Tue, Nov 5, 2013 at 8:56 PM, C G <coprog...@gmail.com> wrote:
It seems to me that what you show, Maarten, is for car routing, but not for bicycle.

--

Barry Evans

unread,
Nov 6, 2013, 12:22:03 PM11/6/13
to osm...@googlegroups.com
Thanks for all replies. For a end user like myself, I mostly assume that something so basic just works as you would expect it to.
I mostly use OSMAnd+ for navigation away from home, so when it erroneously leads me to a unpaved road (with the 'avoid unpaved road' checked ON), I just curse and and find an alternative.
BUT what I have found is that in BIKE mode, as Maarten suggests, it tries to lead me to me to what are clearly (single track) Footpaths. Thats why I am so suprised! They're not even dual-track unsurfaced.
Hopefully then, that should be a very quick fix?

 

C G

unread,
Nov 7, 2013, 8:33:14 PM11/7/13
to osm...@googlegroups.com
More surprising : it seems that bicycle routing always avoids tracks with tag tracktype=grade4 or grade5 (surface=soil/sand/grass, lack of hard material) :
https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml#L470
(why is the value for grade4 lower than the one for grade5 ?)

I think it's not a good choice, because it doesn't satisfy any the two kinds of cyclists :

- people with a moutain bike (or an old bike) don't really care about cycling on tracks "grade4/5". So value could be higher (0.8 ?)

- people with a road bicycle (or a city bike) often want to avoid unpaved ways, unless there isn't really any other possibility.

About footways: a problem is that they are not always forbidden to bicycles (if it is, it should be tagged). Maybe their value could be lower (0.6 instead of 0.9 ?)
About paths: a problem is that "These routes may have any type of surface" Wiki. So they could be paved... For me, they are in most cases unpaved, so it'd be logical to avoid them in the avoid_unpaved strategy (although I read somewhere that in Germany cycleways are often tagged with highway=path; could someone confirm that ?).

So, what about this ?
                <way attribute="priority">
                        <select value="0.1" t="highway" v="track">
                                <if param="avoid_unpaved"/>
                        </select>
                        <select value="0.1" t="highway" v="path">
                                <if param="avoid_unpaved"/>
                        </select>
                        <select value="0.8" t="tracktype" v="grade4"/>
                        <select value="0.8" t="tracktype" v="grade5"/>
                        <select value="1" t="highway" v="track"/>
                        <select value="1" t="highway" v="path"/>
                        <select value="0.6" t="highway" v="footway"/>

Peter B

unread,
Nov 13, 2013, 2:11:56 AM11/13/13
to osm...@googlegroups.com

Have a look on OpenRouteSerive.org which is OSM based.
For bicycle you can choose:
- shortest way
- mountain bike
- racing bike
- safest way
- preferred cycleway-route
Excellent idea !
OpenRouteSerive.org is a project of university of Heidelberg, Germany. I suppose they would provide assistance.
Peter
Reply all
Reply to author
Forward
0 new messages