Ahoj Majko z Ceskych Budejovic, ( EN KBD here only )
To je velmi hezke ze CB maji cyklistky,
ktere vedi, co je to JOSM a BRouter. :-)
Back to EN for the the Brouter group benefit:
For referring to a particular map scenarios,
it is recommended to provide a permalink ( right down corner link )
from
http://brouter.de/brouter-web/
Then one can easily review the OSM tags related to affected ways.
Analyzing scenarios based on GPX is less convenient,
OTOH, the Brouter-web is for now useful on desktops only. (changes soon)
--------
The problem can be divided into 2 separate issues.
1) TAGVALUE AWARE PROFILES
As bicycle=use_sidepath does exist in the
http://brouter.de/brouter/profiles2/lookups.dat
Brouter does not ignore this tag value.
What do ignore this value are Brouter profiles.
Arndt ( the author ) and myself as well usually include
only major tagvalues into the profiles,
based on Germany relative occurrence from lookups.dat.
It gives roughly about 0.04% of all the bicycle=* tagvalues.
what I can see at
https://taginfo.openstreetmap.org/keys/bicycle#values
world-wide usage is muc wider, more than 1% of tagvalues.
It can be easily add to any profile, if needed,
and I have done so for my profile template below.
Not that if there is explict traffic sign "forbidden for bicycle", or
equivalent, thare must be bicycle=no.
bicycle=use_sidepath is for cases,
where there is implicit obligation to use the sidepath,
but no explicit forbidding sign.
2/ ROUTING PREFERENCE.
There is needed to raise cost of main roads with bicycle=use_sidepath
to push the routing away from them to the side paths.
By a quick and dirty way to do so for any profile by this way:
Replace
assign costfactor <whatever expresing till next assign statement>
by
assign costfactor add switch bicycle=use_sidepath 2.0 0.0
<whatever expresing till next assign statement>
This would make any road with such a tag extra twice
as long as is its physical length.
Additionally, it is important
to keep low costfactors even for highway=path,
if is paved ( not so often ) and bicycle= friendly tag is present.
In my profile below, I how done so in more thoughful way.
highway=cycleway is probably even better.
See the map of Ceske budejovice on BRouter-web map ( standard profile )
http://bit.ly/2p8tHAq
And try to upload there, or use on the device this modified version
of my Trekking-Poutnik profile template.
It gives quite good default result.
https://raw.githubusercontent.com/poutnikl/Trekking-Poutnik/develop/Trekking-Poutnik.brf
WayTags
highway=secondary estimated_traffic_class=4
reversedirection=yes highway=residential
reversedirection=yes highway=service
highway=footway route_bicycle_lcn=yes
reversedirection=yes highway=tertiary
reversedirection=yes highway=tertiary
reversedirection=yes highway=tertiary
reversedirection=yes highway=tertiary
highway=residential oneway=no
highway=footway bicycle=yes
highway=path foot=designated bicycle=designated cycleway=crossing
highway=path foot=designated bicycle=designated cycleway=crossing
highway=footway bicycle=yes
highway=path surface=asphalt foot=designated bicycle=designated
smoothness=excellent
highway=path surface=asphalt foot=designated bicycle=designated
smoothness=excellent
reversedirection=yes highway=tertiary
reversedirection=yes highway=tertiary
reversedirection=yes highway=tertiary
reversedirection=yes highway=footway
reversedirection=yes highway=cycleway surface=asphalt foot=designated
bicycle=designated route_bicycle_lcn=yes
highway=residential surface=asphalt oneway=yes route_bicycle_lcn=yes
highway=residential oneway=yes
highway=residential
reversedirection=yes highway=residential route_bicycle_lcn=yes
reversedirection=yes highway=path foot=designated bicycle=designated
route_bicycle_lcn=yes
highway=path foot=designated bicycle=designated route_bicycle_lcn=yes
highway=path foot=designated bicycle=designated route_bicycle_lcn=yes
highway=footway route_bicycle_lcn=yes
highway=footway route_bicycle_lcn=yes
highway=tertiary oneway=yes estimated_traffic_class=3
reversedirection=yes highway=primary oneway=no estimated_traffic_class=4
reversedirection=yes highway=primary oneway=no estimated_traffic_class=4
reversedirection=yes highway=primary estimated_traffic_class=4
--
Poutnik ( The Pilgrim, Der Wanderer )
https://github.com/poutnikl/Brouter-profiles/wiki