summaryrefslogtreecommitdiff
path: root/navit/navit.xml
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-02 12:52:03 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-02 12:52:03 +0000
commit028c8ac1f00240e2ee080936ab881454ed75c92c (patch)
tree432f8283497ea4e8af51ebb8aac19830574dc834 /navit/navit.xml
parent587c39905ce5af5a79a729949969bda974f0e304 (diff)
downloadnavit-028c8ac1f00240e2ee080936ab881454ed75c92c.tar.gz
Add:Core:First steps in making routing work for various profiles
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2183 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.xml')
-rw-r--r--navit/navit.xml65
1 files changed, 65 insertions, 0 deletions
diff --git a/navit/navit.xml b/navit/navit.xml
index 201527e5e..d01ab8d4e 100644
--- a/navit/navit.xml
+++ b/navit/navit.xml
@@ -107,6 +107,71 @@
<!-- For the cumulative displacement filter to be enabled, set cdf_hist="x" here, with x being an integer somewhere around 4 -->
<tracking cdf_histsize="0"/>
+ <vehicleprofile name="car" flags="0x40000000" flags="0x4000000" flags_forward_mask="0x4000002" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0">
+ <roadprofile item_types="street_0,street_1_city" speed="10" 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="street_2_city" speed="30" route_weight="30">
+ <announcement level="0" distance_metric="50"/>
+ <announcement level="1" distance_metric="200"/>
+ <announcement level="2" distance_metric="500"/>
+ </roadprofile>
+ <roadprofile item_types="street_3_city" speed="40" route_weight="40">
+ <announcement level="0" distance_metric="50"/>
+ <announcement level="1" distance_metric="200"/>
+ <announcement level="2" distance_metric="500"/>
+ </roadprofile>
+ <roadprofile item_types="street_4_city" speed="50" route_weight="50">
+ <announcement level="0" distance_metric="50"/>
+ <announcement level="1" distance_metric="200"/>
+ <announcement level="2" distance_metric="500"/>
+ </roadprofile>
+ <roadprofile item_types="highway_city" speed="80" route_weight="80">
+ <announcement level="0" distance_metric="100"/>
+ <announcement level="1" distance_metric="400"/>
+ <announcement level="2" distance_metric="1000"/>
+ </roadprofile>
+ <roadprofile item_types="street_1_land" speed="60" route_weight="60">
+ <announcement level="0" distance_metric="100"/>
+ <announcement level="1" distance_metric="400"/>
+ <announcement level="2" distance_metric="1000"/>
+ </roadprofile>
+ <roadprofile item_types="street_2_land" speed="65" route_weight="65">
+ <announcement level="0" distance_metric="100"/>
+ <announcement level="1" distance_metric="400"/>
+ <announcement level="2" distance_metric="1000"/>
+ </roadprofile>
+ <roadprofile item_types="street_3_land" speed="70" route_weight="70">
+ <announcement level="0" distance_metric="100"/>
+ <announcement level="1" distance_metric="400"/>
+ <announcement level="2" distance_metric="1000"/>
+ </roadprofile>
+ <roadprofile item_types="street_4_land" speed="80" route_weight="80">
+ <announcement level="0" distance_metric="100"/>
+ <announcement level="1" distance_metric="400"/>
+ <announcement level="2" distance_metric="1000"/>
+ </roadprofile>
+ <roadprofile item_types="street_n_lanes" speed="120" route_weight="120">
+ <announcement level="0" distance_metric="300"/>
+ <announcement level="1" distance_metric="1000"/>
+ <announcement level="2" distance_metric="2000"/>
+ </roadprofile>
+ <roadprofile item_types="highway_land" speed="120" route_weight="120">
+ <announcement level="0" distance_metric="300"/>
+ <announcement level="1" distance_metric="1000"/>
+ <announcement level="2" distance_metric="2000"/>
+ </roadprofile>
+ <roadprofile item_types="ramp" speed="40" route_weight="40">
+ <announcement level="0" distance_metric="50"/>
+ <announcement level="1" distance_metric="200"/>
+ <announcement level="2" distance_metric="500"/>
+ </roadprofile>
+ <roadprofile item_types="roundabout" speed="10" route_weight="10"/>
+ <roadprofile item_types="ferry" speed="40" route_weight="40"/>
+ </vehicleprofile>
+
<route destination_distance="50">
<speed type="street_0,street_1_city" value="10"/>
<speed type="street_2_city" value="30"/>