Could someone please align the attribute to the height of the highway? The key I use normally won't work.

tweaking heuristicCoefficient and some priorities to avoid detours
This commit is contained in:
Straputsky 2012-06-28 13:14:42 +03:00
parent 7245c9ee59
commit 94aea27c7c

View file

@ -114,8 +114,11 @@
<obstacle tag="railway" value="level_crossing" penalty="15"/>
</routingProfile>
<routingProfile name="pedestrian" baseProfile="pedestrian" restrictionsAware="false" minDefaultSpeed="3" maxDefaultSpeed="6"
<routingProfile name="pedestrian" baseProfile="pedestrian" restrictionsAware="false" minDefaultSpeed="3" maxDefaultSpeed="5"
leftTurn="0" rightTurn="0" followSpeedLimitations="false" onewayAware="false">
<attribute name="heuristicCoefficient" value="1.2" />
<highway value="motorway" speed="5" priority="0.7" dynamicPriority="0.7"/>
<highway value="motorway_link" speed="5" priority="0.7" dynamicPriority="0.7"/>
@ -136,8 +139,8 @@
<highway value="track" speed="5" priority="1" dynamicPriority="1"/>
<highway value="path" speed="5" priority="1" dynamicPriority="1"/>
<highway value="living_street" speed="5" priority="1" dynamicPriority="1"/>
<highway value="pedestrian" speed="5" priority="1.4" dynamicPriority="1.1"/>
<highway value="footway" speed="5" priority="1.4" dynamicPriority="1.1"/>
<highway value="pedestrian" speed="5" priority="1.2" dynamicPriority="1.1"/>
<highway value="footway" speed="5" priority="1.2" dynamicPriority="1.1"/>
<highway value="byway" speed="5" priority="1" dynamicPriority="1"/>
<highway value="services" speed="5" priority="1" dynamicPriority="1"/>
<highway value="bridleway" speed="5" priority="0.8" dynamicPriority="0.8"/>