forked from droundy/navit-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbike.xml
60 lines (60 loc) · 3.21 KB
/
bike.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<vehicleprofile name="bike" flags="0x40000000" flags_forward_mask="0x40000000" flags_reverse_mask="0x40000000" maxspeed_handling="1" route_mode="0">
<roadprofile item_types="steps" speed="2" route_weight="5">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<roadprofile item_types="street_pedestrian,footway" speed="5" route_weight="10">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<roadprofile item_types="path,track_ground" speed="12" route_weight="12">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<roadprofile item_types="track_gravelled" speed="17" route_weight="15">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- 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">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- residential, unclassified, living street etc. -->
<roadprofile item_types="street_0,street_1_city,living_street" speed="20" route_weight="15">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- 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">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- secondary etc. are acceptable when necessary -->
<roadprofile item_types="street_3_city" speed="22" route_weight="10">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- primary, trunk etc. should be avoided -->
<roadprofile item_types="street_4_city,ramp" speed="22" route_weight="7">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
</roadprofile>
<!-- Those types do not appear in osm2navit.c and therefore are not used ATM -->
<roadprofile item_types="street_3_land,street_4_land" speed="20" route_weight="7">
<announcement level="0" distance_metric="100"/>
<announcement level="1" distance_metric="400"/>
<announcement level="2" distance_metric="1000"/>
</roadprofile>
<roadprofile item_types="roundabout" speed="20" route_weight="10"/>
<roadprofile item_types="ferry" speed="40" route_weight="40"/>
</vehicleprofile>