Add:Core:Car profile to avoid toll roads, ticket #900|Thanks korrosa
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 15 Aug 2011 16:18:29 +0000 (16:18 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 15 Aug 2011 16:18:29 +0000 (16:18 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4680 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/navit_shipped.xml

index cfcbc70..ea15e8d 100644 (file)
@@ -184,6 +184,71 @@ Navigation</text></img>
                        <roadprofile item_types="ferry" speed="40" route_weight="40"/>
                </vehicleprofile>
 
+               <vehicleprofile name="car_avoid_tolls" flags="0x4000000" flags_forward_mask="0x4000402" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
+                       <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved" 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,track_paved" 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>
+
                <vehicleprofile name="bike" 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">
                                        <announcement level="0" distance_metric="25"/>