summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2019-09-02 10:08:33 +0200
committerGitHub <noreply@github.com>2019-09-02 10:08:33 +0200
commitb0d66a6c4ac6a1cf63e676ba24fd3061686cea15 (patch)
treebbf4401f1a1ef49fcf684a1366a58d00a135b58b
parent2ebabfedab6c4e44e554e6d87269f4cbaf10369f (diff)
parent94834b753cc9c2e1e668feb887683416538861ce (diff)
downloadnavit-b0d66a6c4ac6a1cf63e676ba24fd3061686cea15.tar.gz
Merge branch 'trunk' into multipolygonmultipolygon
-rw-r--r--navit/navit_shipped.xml37
1 files changed, 20 insertions, 17 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index f11d905f1..5473349c7 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -276,24 +276,27 @@ Waypoint</text></img>
<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
<roadprofile item_types="ferry" speed="40" route_weight="40"/>
</vehicleprofile>
- <vehicleprofile name="bike" route_depth="18:25%,18:40000" flags="0x40000000" flags_forward_mask="0x40000000" flags_reverse_mask="0x40000000" maxspeed_handling="1" route_mode="0" static_speed="5" static_distance="25">
- <roadprofile item_types="steps" speed="2" route_weight="5" />
- <roadprofile item_types="street_pedestrian,footway" speed="5" route_weight="10" />
- <roadprofile item_types="path,track_ground" speed="12" route_weight="12" />
- <roadprofile item_types="track_gravelled" speed="17" route_weight="15" />
- <!-- cycleways, paved tracks, serviceways etc. are the favourite ways -->
- <roadprofile item_types="track_paved,cycleway,street_service,street_parking_lane" speed="22" route_weight="20" />
+ <vehicleprofile name="bike" route_depth="18:25%,18:40000" flags="0x40000000" flags_forward_mask="0x40000002" flags_reverse_mask="0x40000001" maxspeed_handling="1" route_mode="0" static_speed="5" static_distance="25">
+ <!-- cycleways and paved tracks are the favourite ways (caveat: can be next to a main road) -->
+ <roadprofile item_types="track_paved,cycleway" speed="20" route_weight="20" />
<!-- residential, unclassified, living street etc. -->
- <roadprofile item_types="street_0,street_1_city,living_street" speed="20" route_weight="15" />
- <!-- tertiary and minor roads are acceptable, but should be avoided in favour of tracks and cycleways -->
- <roadprofile item_types="street_2_city,street_1_land,street_2_land" speed="22" route_weight="12" />
- <!-- secondary etc. are acceptable when necessary -->
- <roadprofile item_types="street_3_city" speed="22" route_weight="10" />
- <!-- primary, trunk etc. should be avoided -->
- <roadprofile item_types="street_4_city,ramp" speed="22" route_weight="7" />
- <!-- Those types do not appear in maptool.c and therefore are not used ATM -->
- <roadprofile item_types="street_3_land,street_4_land" speed="20" route_weight="7" />
- <!--roundabout does not apply to OSMaps -->
+ <roadprofile item_types="street_0,street_1_city,street_1_land,living_street" speed="20" route_weight="20" />
+ <!-- ways shared with pedestrians are OK if access flags permit, but lower preference (caveat: may or may not be segregated) -->
+ <roadprofile item_types="street_pedestrian,footway" speed="17" route_weight="17" />
+ <!-- serviceways etc. are OK but lower preference -->
+ <roadprofile item_types="street_service,street_parking_lane" speed="17" route_weight="15" />
+ <!-- tertiary roads are acceptable, but should be avoided in favour of tracks and cycleways -->
+ <roadprofile item_types="street_2_city,street_2_land" speed="20" route_weight="15" />
+ <!-- secondary, primary and trunk are acceptable when necessary, but give preference to lower tiers -->
+ <roadprofile item_types="street_3_city,street_3_land" speed="20" route_weight="15" />
+ <roadprofile item_types="street_4_land,street_4_city" speed="20" route_weight="12" />
+ <roadprofile item_types="street_n_lanes,ramp" speed="20" route_weight="10" />
+ <!-- low preference for rough terrain -->
+ <roadprofile item_types="path,track_ground" speed="7" route_weight="7" />
+ <roadprofile item_types="track_gravelled" speed="17" route_weight="12" />
+ <!-- avoid steps unless that means a huge detour -->
+ <roadprofile item_types="steps" speed="2" route_weight="2" />
+ <!--roundabout does not apply to OSM maps -->
<roadprofile item_types="roundabout" speed="20" route_weight="10"/>
<roadprofile item_types="ferry" speed="40" route_weight="40"/>
</vehicleprofile>