Add:Core:Pedestrian profile
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 19 Apr 2009 13:52:36 +0000 (13:52 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 19 Apr 2009 13:52:36 +0000 (13:52 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@2217 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/navit.xml

index ea1ae43..72d830f 100644 (file)
             <roadprofile item_types="roundabout" speed="20" route_weight="10"/>
             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
        </vehicleprofile>
+       <vehicleprofile name="pedestrian" flags="0x80000000" flags_forward_mask="0x80000000" flags_reverse_mask="0x80000000" maxspeed_handling="0" route_mode="0">
+           <roadprofile item_types="footway" speed="5" 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="track_gravelled" speed="5" 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="cycleway" speed="5" 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_0,street_1_city,street_2_city" speed="5" 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_3_city,street_4_city" speed="5" 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_1_land,street_2_land" speed="5" route_weight="5">
+               <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,street_4_land" speed="5" route_weight="5">
+               <announcement level="0" distance_metric="100"/>
+               <announcement level="1" distance_metric="400"/>
+               <announcement level="2" distance_metric="1000"/>
+           </roadprofile>
+            <roadprofile item_types="roundabout" speed="5" route_weight="5"/>
+            <roadprofile item_types="ferry" speed="40" route_weight="40"/>
+       </vehicleprofile>
 
         <route destination_distance="50"/>