summaryrefslogtreecommitdiff
path: root/navit
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
commit89a2edbd58efd8fc0766e582e6fbecad4cd89109 (patch)
treed8ffd821386502154de2d7f9f59daeece6430957 /navit
parentfa5fe60ffceaebab01794ff48e8b0464aebe9bd8 (diff)
downloadnavit-89a2edbd58efd8fc0766e582e6fbecad4cd89109.tar.gz
Add:Core:Added horse vehicle profile
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2243 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r--navit/item.c2
-rw-r--r--navit/navit.xml56
2 files changed, 57 insertions, 1 deletions
diff --git a/navit/item.c b/navit/item.c
index 058212a70..a24941579 100644
--- a/navit/item.c
+++ b/navit/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/navit.xml b/navit/navit.xml
index 29ebd152d..c7ceb5e6b 100644
--- a/navit/navit.xml
+++ b/navit/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"/>