summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-29 14:05:47 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-29 14:05:47 +0000
commitc8a778516b02833f109ca0f42169c9b420f44e5d (patch)
tree2da30d1a2d4bf161171497ac654469ee84a58c47
parent196fe2aafef76e5eeedc24ba37b08a86f08966bc (diff)
downloadnavit-svn-public_transport@2243.tar.gz
Add:Core:Added horse vehicle profilepublic_transport@2243
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@2243 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--item.c2
-rw-r--r--navit.xml56
2 files changed, 57 insertions, 1 deletions
diff --git a/item.c b/item.c
index 058212a7..a2494157 100644
--- a/item.c
+++ b/item.c
@@ -68,6 +68,8 @@ struct default_flags default_flags2[]={
{type_footway, AF_PBH},
{type_living_street, AF_ALL},
{type_street_service, AF_ALL},
+ {type_bridleway, AF_PBH},
+ {type_path, AF_PBH},
};
diff --git a/navit.xml b/navit.xml
index 29ebd152..c7ceb5e6 100644
--- a/navit.xml
+++ b/navit.xml
@@ -211,7 +211,7 @@
<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="1" route_mode="0">
- <roadprofile item_types="footway" speed="5" route_weight="5">
+ <roadprofile item_types="footway,bridleway,path" speed="5" route_weight="5">
<announcement level="0" distance_metric="25"/>
<announcement level="1" distance_metric="100"/>
<announcement level="2" distance_metric="200"/>
@@ -259,6 +259,60 @@
<roadprofile item_types="roundabout" speed="5" route_weight="5"/>
<roadprofile item_types="ferry" speed="40" route_weight="40"/>
</vehicleprofile>
+ <vehicleprofile name="horse" flags="0x80000000" flags_forward_mask="0x80000000" flags_reverse_mask="0x80000000" maxspeed_handling="1" route_mode="0">
+ <roadprofile item_types="bridleway" 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="footway,path" 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="living_street,street_pedestrian" speed="5" route_weight="4">
+ <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="track_paved" 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="2">
+ <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,street_service" speed="5" route_weight="4">
+ <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="2">
+ <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="4">
+ <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="2"/>
+ <roadprofile item_types="ferry" speed="40" route_weight="40"/>
+ </vehicleprofile>
<route destination_distance="50"/>