2016-04-19 21:43:32 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<osmand_routing_config defaultProfile="car">
|
|
|
|
<!-- 1. parameters of routing and different tweaks Influence on A* : -->
|
|
|
|
<!-- f(x) + heuristicCoefficient*g(X) -->
|
|
|
|
<!-- TEMPORARY needs to be reverted to 1 -->
|
|
|
|
<attribute name="heuristicCoefficient" value="" />
|
|
|
|
|
|
|
|
<!-- 1.1 tile load parameters (should not affect routing) -->
|
|
|
|
<!-- by default 16 -->
|
|
|
|
<attribute name="zoomToLoadTiles" value="16" />
|
|
|
|
<!-- by default it is 30. Value specified here overwrites all others
|
|
|
|
(don't specify here ! it is device dependent) -->
|
|
|
|
<attribute name="memoryLimitInMB" value="" />
|
|
|
|
<attribute name="nativeMemoryLimitInMB" value="" />
|
|
|
|
|
|
|
|
<!-- 1.2 Build A* graph in backward/forward direction (can affect results) -->
|
|
|
|
<!-- 0 - 2 ways, 1 - direct way, -1 - reverse way -->
|
|
|
|
<attribute name="planRoadDirection" value="0" />
|
|
|
|
|
|
|
|
<!-- 1.3 When there is a query to recalculate route, -->
|
|
|
|
<!-- recalculate smart using old route within N-meters (0 recalculate fresh, default 10km) -->
|
|
|
|
<attribute name="recalculateDistanceHelp" value="10000" />
|
|
|
|
|
|
|
|
<!-- HELP INFORMATION ABOUT FILE -->
|
|
|
|
<!--
|
|
|
|
Description of blocks:
|
|
|
|
1) <way attribute="access">
|
|
|
|
Defines acceptable roads for routingProfile. Value of -1 means way impassable,
|
|
|
|
value of 1 means way passable.
|
|
|
|
2) <way attribute="speed" type="speed">
|
|
|
|
Defines speed limits on roads in km/h (if it is not specified on the road via maxspeed tag)
|
|
|
|
3) <way attribute="priority">
|
|
|
|
Priority is a preference multiplicator for the road type (consider it is an accelerator of the road)
|
|
|
|
4) <point attribute="obstacle">
|
|
|
|
Obstacle defines a point of the road and whether it can be passed by the vehicle.
|
|
|
|
Penalty is measured in seconds, a value of -1 means the obstacle cannot be passed and a value of 0 means "no penalty"!
|
|
|
|
For routing engine.
|
|
|
|
5) <point attribute="obstacle_time">
|
|
|
|
Penalty for crossing a feature on the road. It is measured in seconds.
|
|
|
|
Only for visual effect (ETA).
|
|
|
|
|
|
|
|
The order of specialization matters only how it was supplied :
|
|
|
|
short_way, avoid_ferries, avoid_toll, avoid_motorway, avoid_unpaved
|
|
|
|
|
|
|
|
Conditional values (based on parameters) can be specified as:
|
|
|
|
<select value="x" t="y" v="z">
|
|
|
|
<if param="parameter id"/>
|
|
|
|
</select>
|
|
|
|
-->
|
|
|
|
<routingProfile name="car" baseProfile="car" restrictionsAware="true" minDefaultSpeed="45.0" maxDefaultSpeed="130.0"
|
|
|
|
leftTurn="5" rightTurn="5" roundaboutTurn="5" onewayAware="true">
|
|
|
|
<!--
|
|
|
|
<attribute name="heuristicCoefficient" value="1.5" />
|
|
|
|
|
|
|
|
-->
|
|
|
|
<!-- NEW ROUTING API -->
|
|
|
|
|
|
|
|
<!-- <parameter id="prefer_motorway" name="Prefer motorways" description="Prefer motorways" type="boolean"/> -->
|
|
|
|
<!-- <parameter id="no_new_routing" name="Do not use v1.9 routing" description="Do not use v1.9 routing" type="boolean"/> -->
|
|
|
|
|
|
|
|
<parameter id="short_way" name="Short way" description="Short way" type="boolean"/>
|
|
|
|
<parameter id="avoid_toll" name="Avoid toll roads" description="Avoid toll roads" type="boolean"/>
|
|
|
|
<parameter id="avoid_unpaved" name="Avoid unpaved roads" description="Avoid unpaved roads" type="boolean"/>
|
|
|
|
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
|
|
|
|
<parameter id="avoid_shuttle_train" name="Avoid Shuttle Trains" description="Avoid Shuttle Trains" type="boolean"/>
|
|
|
|
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
|
|
|
|
<parameter id="avoid_borders" name="Avoid border crossing" description="Avoid crossing a border into another country" type="boolean"/>
|
|
|
|
<parameter id="weight" name="Weight" description="Weight" type="numeric" values="0,1500,3000,5000,10000,15000,20000" valueDescriptions="-,1.5t,3t,5t,10t,15t,20t"/>
|
|
|
|
<parameter id="height" name="Height" description="Height" type="numeric" values="0,1.5,2,2.5,3,3.5,4" valueDescriptions="-,1.5m,2m,2.5m,3m,3.5m,4m"/>
|
|
|
|
|
|
|
|
<way attribute="access">
|
|
|
|
<select value="-1" t="osmand_change" v="delete"/>
|
|
|
|
<select value="-1" t="highway" v="motorway">
|
|
|
|
<if param="avoid_motorway"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="toll" v="yes">
|
|
|
|
<if param="avoid_toll"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="route" v="ferry">
|
|
|
|
<if param="avoid_ferries"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="route" v="shuttle_train">
|
|
|
|
<if param="avoid_shuttle_train"/>
|
|
|
|
</select>
|
|
|
|
<if param="avoid_unpaved">
|
|
|
|
<select value="-1" t="highway" v="track"/>
|
|
|
|
<select value="-1" t="surface" v="unpaved"/>
|
|
|
|
<select value="-1" t="surface" v="compacted"/>
|
|
|
|
<select value="-1" t="surface" v="dirt"/>
|
|
|
|
<select value="-1" t="surface" v="gravel"/>
|
|
|
|
<select value="-1" t="surface" v="fine_gravel"/>
|
|
|
|
<select value="-1" t="surface" v="grass"/>
|
|
|
|
<select value="-1" t="surface" v="ground"/>
|
|
|
|
<select value="-1" t="surface" v="mud"/>
|
|
|
|
<select value="-1" t="surface" v="pebblestone"/>
|
|
|
|
<select value="-1" t="surface" v="sand"/>
|
|
|
|
<select value="-1" t="surface" v="wood"/>
|
|
|
|
<select value="-1" t="smoothness" v="very_bad"/>
|
|
|
|
<select value="-1" t="smoothness" v="horrible"/>
|
|
|
|
<select value="-1" t="smoothness" v="very_horrible"/>
|
|
|
|
<select value="-1" t="smoothness" v="impassable"/>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<select value="-1" t="motorcar" v="no"/>
|
|
|
|
<select value="-1" t="motorcar" v="agricultural"/>
|
|
|
|
<select value="-1" t="motorcar" v="forestry"/>
|
|
|
|
<select value="1" t="motorcar" v="yes"/>
|
|
|
|
<select value="1" t="motorcar" v="permissive"/>
|
|
|
|
<select value="1" t="motorcar" v="designated"/>
|
|
|
|
<select value="1" t="motorcar" v="destination"/>
|
|
|
|
<select value="1" t="motorcar" v="customers"/>
|
|
|
|
<select value="1" t="motorcar" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="motor_vehicle" v="no"/>
|
|
|
|
<select value="-1" t="motor_vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="motor_vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="yes"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="designated"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="destination"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="customers"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="vehicle" v="no"/>
|
|
|
|
<select value="-1" t="vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="vehicle" v="yes"/>
|
|
|
|
<select value="1" t="vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="vehicle" v="designated"/>
|
|
|
|
<select value="1" t="vehicle" v="destination"/>
|
|
|
|
<select value="1" t="vehicle" v="customers"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
|
|
|
<select value="-1" t="access" v="agricultural"/>
|
|
|
|
<select value="-1" t="access" v="forestry"/>
|
|
|
|
<select value="-1" t="access" v="emergency"/>
|
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
<select value="1" t="access" v="destination"/>
|
|
|
|
<select value="1" t="access" v="customers"/>
|
|
|
|
|
|
|
|
<!-- introduce special tag motorcycle ! --><!-- What is special in it? It is a defined value and used in the database -->
|
|
|
|
<!-- <select value="-1" t="motorcycle" v="no"/>-->
|
|
|
|
<select value="-1" t="barrier" v="bollard"/>
|
|
|
|
<select value="-1" t="barrier" v="chain"/>
|
|
|
|
<select value="-1" t="barrier" v="debris"/>
|
|
|
|
<select value="-1" t="barrier" v="block"/>
|
|
|
|
|
|
|
|
<select value="-1" t="maxweight">
|
|
|
|
<gt value1=":weight" value2="$maxweight" type="weight"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="maxheight">
|
|
|
|
<gt value1=":height" value2="$maxheight" type="length"/>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select value="1" t="highway" v="motorway"/>
|
|
|
|
<select value="1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1" t="highway" v="trunk"/>
|
|
|
|
<select value="1" t="highway" v="trunk_link"/>
|
|
|
|
<select value="1" t="highway" v="primary"/>
|
|
|
|
<select value="1" t="highway" v="primary_link"/>
|
|
|
|
<select value="1" t="highway" v="secondary"/>
|
|
|
|
<select value="1" t="highway" v="secondary_link"/>
|
|
|
|
<select value="1" t="highway" v="tertiary"/>
|
|
|
|
<select value="1" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="1" t="highway" v="unclassified"/>
|
|
|
|
<select value="1" t="highway" v="road"/>
|
|
|
|
<select value="1" t="highway" v="residential"/>
|
|
|
|
<select value="1" t="highway" v="track"/>
|
|
|
|
<select value="1" t="highway" v="service"/>
|
|
|
|
<select value="1" t="highway" v="living_street"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="1" t="route" v="shuttle_train"/>
|
|
|
|
<select value="-1"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="oneway">
|
|
|
|
<select value="1" t="oneway" v="yes"/>
|
|
|
|
<select value="1" t="oneway" v="1"/>
|
|
|
|
<select value="-1" t="oneway" v="-1"/>
|
|
|
|
<select value="1" t="roundabout"/>
|
|
|
|
<select value="1" t="junction" v="roundabout"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="penalty_transition">
|
|
|
|
<!-- cost in time when you change the route from motorway to primary or from primary
|
|
|
|
to living_street, but not other way around. Calculated as difference between values -->
|
|
|
|
<!--
|
|
|
|
<if param="no_new_routing">
|
|
|
|
<select value="0"/>
|
|
|
|
</if>
|
|
|
|
-->
|
|
|
|
<if param="short_way">
|
|
|
|
<select value="0"/>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<select value="0" t="highway" v="motorway"/>
|
|
|
|
<select value="10" t="highway" v="motorway_link"/>
|
|
|
|
<select value="10" t="highway" v="trunk"/>
|
|
|
|
<select value="15" t="highway" v="trunk_link"/>
|
|
|
|
<select value="50" t="highway" v="primary"/>
|
|
|
|
<select value="50" t="highway" v="primary_link"/>
|
|
|
|
<select value="100" t="highway" v="secondary"/>
|
|
|
|
<select value="100" t="highway" v="secondary_link"/>
|
|
|
|
<select value="150" t="highway" v="tertiary"/>
|
|
|
|
<select value="150" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="200"/>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<select value="" t="highway" v="road"/>
|
|
|
|
<select value="" t="highway" v="residential"/>
|
|
|
|
<select value="" t="highway" v="track"/>
|
|
|
|
<select value="" t="highway" v="unclassified"/>
|
|
|
|
<select value="" t="highway" v="service"/>
|
|
|
|
|
|
|
|
<select value="" t="highway" v="living_street"/>
|
|
|
|
<select value="" t="route" v="ferry"/>-->
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="speed" type="speed">
|
|
|
|
<!-- shortway handled internally -->
|
|
|
|
<select value="$maxspeed:practical" t="maxspeed:practical"/>
|
|
|
|
<select value="$maxspeed:advisory" t="maxspeed:advisory"/>
|
|
|
|
<select value="$maxspeed" t="maxspeed"/>
|
|
|
|
|
2016-07-24 11:37:26 +02:00
|
|
|
<!-- most important backbone roads -->
|
|
|
|
<select value="110" t="highway" v="motorway"/>
|
|
|
|
<select value="110" t="highway" v="motorway_link"/>
|
|
|
|
<select value="100" t="highway" v="trunk"/>
|
|
|
|
<select value="75" t="highway" v="trunk_link"/>
|
|
|
|
|
|
|
|
<!-- generally linking larger towns -->
|
|
|
|
<select value="65" t="highway" v="primary"/>
|
|
|
|
<select value="50" t="highway" v="primary_link"/>
|
|
|
|
<!-- generally linking smaller towns and villages -->
|
|
|
|
<select value="60" t="highway" v="secondary"/>
|
|
|
|
<select value="50" t="highway" v="secondary_link"/>
|
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
<!-- important urban roads -->
|
|
|
|
<select value="45" t="highway" v="tertiary"/>
|
|
|
|
<select value="40" t="highway" v="tertiary_link"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
|
|
|
|
<!-- Some values of "abutters" mean the road is inside a place,
|
|
|
|
so cap the speed even if it is a high level road (below). -->
|
|
|
|
<!--
|
|
|
|
<select value="30" t="abutters" v="residential"/>
|
|
|
|
<select value="30" t="abutters" v="commercial"/>
|
|
|
|
<select value="30" t="abutters" v="retail"/>
|
|
|
|
<select value="30" t="abutters" v="industrial"/>
|
|
|
|
<select value="30" t="abutters" v="mixed"/>
|
|
|
|
-->
|
|
|
|
<!-- roads with speeds lower than 50 and those that we want to ignore abutters
|
|
|
|
must be placed before the "abutters" block below. -->
|
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
<!-- lowest form of grid network, usually 90% of urban roads -->
|
|
|
|
<select value="35" t="highway" v="unclassified"/>
|
|
|
|
<!-- road = no type, no review and may be not accurate -->
|
|
|
|
<select value="35" t="highway" v="road"/>
|
|
|
|
<select value="35" t="highway" v="residential"/>
|
|
|
|
<select value="15" t="highway" v="track"/>
|
|
|
|
|
|
|
|
<select value="30" t="highway" v="service"/>
|
|
|
|
<select value="25" t="highway" v="living_street"/>
|
|
|
|
<select value="15" t="route" v="ferry"/>
|
|
|
|
<select value="60" t="route" v="shuttle_train"/>
|
|
|
|
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="priority">
|
|
|
|
<!-- not working fine -->
|
|
|
|
<!--
|
|
|
|
<if param="prefer_motorway">
|
|
|
|
<select value="1.2" t="highway" v="motorway"/>
|
|
|
|
<select value="1.1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1.2" t="highway" v="trunk"/>
|
|
|
|
<select value="1.1" t="highway" v="trunk_link"/>
|
|
|
|
</if> -->
|
|
|
|
<!-- access deprioritize -->
|
2016-07-24 11:37:26 +02:00
|
|
|
<select t="tracktype" v="grade5" value="0.2"/>
|
|
|
|
<select t="motorcar" v="private" value="0.15"/>
|
|
|
|
<select t="motorcar" v="destination" value="0.15"/>
|
|
|
|
<select t="motorcar" v="delivery" value="0.15"/>
|
|
|
|
<select t="motorcar" v="customers" value="0.15"/>
|
|
|
|
<select t="motor_vehicle" v="private" value="0.15"/>
|
|
|
|
<select t="motor_vehicle" v="destination" value="0.15"/>
|
|
|
|
<select t="motor_vehicle" v="delivery" value="0.15"/>
|
|
|
|
<select t="motor_vehicle" v="customers" value="0.15"/>
|
|
|
|
<select t="vehicle" v="private" value="0.15"/>
|
|
|
|
<select t="vehicle" v="destination" value="0.15"/>
|
|
|
|
<select t="vehicle" v="delivery" value="0.15"/>
|
|
|
|
<select t="vehicle" v="customers" value="0.15"/>
|
|
|
|
<select t="access" v="private" value="0.15"/>
|
|
|
|
<select t="access" v="destination" value="0.15"/>
|
|
|
|
<select t="access" v="delivery" value="0.15"/>
|
|
|
|
<select t="access" v="customers" value="0.15"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
|
|
|
|
<select value="1.1" t="highway" v="motorway"/>
|
|
|
|
<!-- make links slightly smaller so in connections they will not be used -->
|
|
|
|
<select value="1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1" t="highway" v="trunk"/>
|
|
|
|
<select value="0.9" t="highway" v="trunk_link"/>
|
|
|
|
<!-- generally linking larger towns. -->
|
|
|
|
<select value="1.0" t="highway" v="primary"/>
|
|
|
|
<select value="0.95" t="highway" v="primary_link"/>
|
|
|
|
<!-- generally linking smaller towns and villages -->
|
|
|
|
<select value="0.95" t="highway" v="secondary"/>
|
|
|
|
<select value="0.9" t="highway" v="secondary_link"/>
|
|
|
|
<!-- important urban roads -->
|
|
|
|
<select value="0.9" t="highway" v="tertiary"/>
|
|
|
|
<select value="0.8" t="highway" v="tertiary_link"/>
|
|
|
|
<!-- lowest form of grid network, usually 90% of urban roads -->
|
|
|
|
<select value="0.7" t="highway" v="unclassified"/>
|
|
|
|
<!-- road = no type, no review and may be not accurate -->
|
|
|
|
<select value="0.7" t="highway" v="road"/>
|
|
|
|
<select value="0.7" t="highway" v="residential"/>
|
|
|
|
|
|
|
|
<select value="0.5" t="highway" v="track"/>
|
|
|
|
|
|
|
|
<select value="0.3" t="smoothness" v="very_bad"/>
|
|
|
|
<select value="0.15" t="smoothness" v="horrible"/>
|
|
|
|
<select value="0.1" t="smoothness" v="very_horrible"/>
|
|
|
|
<select value="0.05" t="smoothness" v="impassable"/>
|
|
|
|
|
|
|
|
<select value="0.5" t="highway" v="service"/>
|
|
|
|
<select value="0.5" t="highway" v="living_street"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="1" t="route" v="shuttle_train"/>
|
|
|
|
|
|
|
|
<select value="0.7"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<point attribute="obstacle_time">
|
|
|
|
<select value="5" t="barrier" v="entrance"/>
|
|
|
|
<select value="15" t="barrier" v="gate"/>
|
|
|
|
<select value="5" t="barrier" v="height_restrictor"/>
|
|
|
|
<select value="15" t="barrier" v="lift_gate"/>
|
|
|
|
<select value="30" t="barrier" v="swing_gate"/>
|
|
|
|
<select value="25" t="barrier" v="toll_booth"/>
|
|
|
|
<select value="25" t="barrier"/>
|
|
|
|
<select value="10" t="traffic_calming"/>
|
|
|
|
<select value="30" t="highway" v="traffic_signals"/>
|
|
|
|
<select value="1" t="crossing" v="unmarked"/>
|
|
|
|
<select value="5" t="crossing" v="uncontrolled"/>
|
|
|
|
<select value="15" t="highway" v="crossing"/>
|
|
|
|
<select value="15" t="highway" v="stop"/>
|
|
|
|
<select value="10" t="highway" v="give_way"/>
|
|
|
|
<select value="25" t="highway" v="ford"/>
|
|
|
|
<select value="25" t="ford"/>
|
|
|
|
|
|
|
|
<select value="25" t="railway" v="crossing"/>
|
|
|
|
<select value="25" t="railway" v="level_crossing"/>
|
|
|
|
</point>
|
|
|
|
|
|
|
|
<point attribute="obstacle">
|
|
|
|
<if param="avoid_toll">
|
|
|
|
<select value="-1" t="barrier" v="toll_booth"/>
|
|
|
|
</if>
|
|
|
|
<if param="avoid_borders">
|
|
|
|
<select value="-1" t="barrier" v="border_control"/>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<!-- Some barrier nodes are combined with maxheight, e.g. height_restrictor or underground parking entrances. -->
|
|
|
|
<select value="-1" t="maxheight">
|
|
|
|
<gt value1=":height" value2="$maxheight" type="length"/>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<!-- If access for a car is explicitly marked, the barrier is passable,
|
|
|
|
with a slight penalty.
|
|
|
|
If no access for a car is explicitly marked, the barrier is impassable.
|
|
|
|
Evaluate the keys in descending order of the specificity in the access hierarchy. -->
|
|
|
|
<select value="-1" t="motorcar" v="no"/>
|
|
|
|
<select value="-1" t="motorcar" v="agricultural"/>
|
|
|
|
<select value="-1" t="motorcar" v="forestry"/>
|
|
|
|
<select value="1" t="motorcar" v="yes"/>
|
|
|
|
<select value="1" t="motorcar" v="permissive"/>
|
|
|
|
<select value="1" t="motorcar" v="designated"/>
|
|
|
|
<select value="1" t="motorcar" v="destination"/>
|
|
|
|
<select value="1" t="motorcar" v="customers"/>
|
|
|
|
<select value="1" t="motorcar" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="motor_vehicle" v="no"/>
|
|
|
|
<select value="-1" t="motor_vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="motor_vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="yes"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="designated"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="destination"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="customers"/>
|
|
|
|
<select value="1" t="motor_vehicle" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="vehicle" v="no"/>
|
|
|
|
<select value="-1" t="vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="vehicle" v="yes"/>
|
|
|
|
<select value="1" t="vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="vehicle" v="designated"/>
|
|
|
|
<select value="1" t="vehicle" v="destination"/>
|
|
|
|
<select value="1" t="vehicle" v="customers"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
|
|
|
<select value="-1" t="access" v="agricultural"/>
|
|
|
|
<select value="-1" t="access" v="forestry"/>
|
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
<select value="1" t="access" v="destination"/>
|
|
|
|
<select value="1" t="access" v="customers"/>
|
|
|
|
|
|
|
|
<select value="5" t="barrier" v="cattle_grid"/>
|
|
|
|
<select value="300" t="barrier" v="border_control"/>
|
|
|
|
<select value="300" t="barrier" v="bump_gate"/>
|
|
|
|
<select value="1" t="barrier" v="entrance"/>
|
|
|
|
<select value="100" t="barrier" v="height_restrictor"/>
|
|
|
|
<select value="100" t="barrier" v="sally_port"/>
|
|
|
|
<select value="1" t="barrier" v="toll_booth"/>
|
|
|
|
<!-- These 2 shouldn't be allowed per the wiki (access=no is assumed) but people often do not add the proper access tags. -->
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="300" t="barrier" v="lift_gate"/>
|
|
|
|
<select value="300" t="barrier" v="swing_gate"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
<!-- Without explicit access marking, barriers other than the listed values above are impassable to a car. -->
|
|
|
|
<select value="-1" t="barrier"/>
|
|
|
|
|
|
|
|
<select value="10" t="traffic_calming"/>
|
|
|
|
<!-- New introduction to not drive through city -->
|
|
|
|
<select value="15" t="highway" v="traffic_signals"/>
|
|
|
|
|
|
|
|
<select value="25" t="highway" v="ford"/>
|
|
|
|
<select value="25" t="ford"/>
|
|
|
|
</point>
|
|
|
|
</routingProfile>
|
|
|
|
|
|
|
|
<routingProfile name="bicycle" baseProfile="bicycle" restrictionsAware="true" minDefaultSpeed="7" maxDefaultSpeed="27"
|
|
|
|
leftTurn="0" rightTurn="0" followSpeedLimitations="false" onewayAware="true" heuristicCoefficient="1.5">
|
|
|
|
<!-- <attribute name="relaxNodesIfStartDistSmallCoeff" value="2.5"/> -->
|
|
|
|
<!-- New ROUTING API -->
|
|
|
|
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
|
|
|
|
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
|
|
|
|
<parameter id="avoid_unpaved" name="Avoid unpaved roads" description="Avoid unpaved roads" type="boolean"/>
|
|
|
|
<parameter id="avoid_stairs" name="Avoid stairs" description="Avoid stairs" type="boolean"/>
|
|
|
|
<parameter id="avoid_borders" name="Avoid border crossing" description="Avoid crossing a border into another country" type="boolean"/>
|
|
|
|
|
|
|
|
<way attribute="access">
|
|
|
|
<select value="-1" t="osmand_change" v="delete"/>
|
|
|
|
<if param="avoid_motorway">
|
|
|
|
<select value="-1" t="highway" v="motorway"/>
|
|
|
|
<select value="-1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="-1" t="highway" v="trunk"/>
|
|
|
|
<select value="-1" t="highway" v="trunk_link"/>
|
|
|
|
</if>
|
|
|
|
<select value="-1" t="route" v="ferry">
|
|
|
|
<if param="avoid_ferries"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="highway" v="steps">
|
|
|
|
<if param="avoid_stairs"/>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select value="-1" t="bicycle" v="no"/>
|
|
|
|
<select value="1" t="bicycle" v="yes"/>
|
|
|
|
<select value="1" t="bicycle" v="permissive"/>
|
|
|
|
<select value="1" t="bicycle" v="designated"/>
|
|
|
|
<select value="1" t="bicycle" v="destination"/>
|
|
|
|
<select value="1" t="bicycle" v="official"/>
|
|
|
|
<select value="1" t="bicycle" v="use_sidepath"/>
|
|
|
|
<select value="1" t="bicycle" v="dismount"/>
|
|
|
|
|
|
|
|
<select value="-1" t="vehicle" v="no"/>
|
|
|
|
<select value="-1" t="vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="vehicle" v="yes"/>
|
|
|
|
<select value="1" t="vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="vehicle" v="designated"/>
|
|
|
|
<select value="1" t="vehicle" v="destination"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
|
|
|
<select value="-1" t="access" v="agricultural"/>
|
|
|
|
<select value="-1" t="access" v="forestry"/>
|
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
|
|
|
|
<select value="1" t="highway" v="motorway"/>
|
|
|
|
<select value="1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1" t="highway" v="trunk"/>
|
|
|
|
<select value="1" t="highway" v="trunk_link"/>
|
|
|
|
<select value="1" t="highway" v="primary"/>
|
|
|
|
<select value="1" t="highway" v="primary_link"/>
|
|
|
|
<select value="1" t="highway" v="secondary"/>
|
|
|
|
<select value="1" t="highway" v="secondary_link"/>
|
|
|
|
<select value="1" t="highway" v="tertiary"/>
|
|
|
|
<select value="1" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="1" t="highway" v="road"/>
|
|
|
|
<select value="1" t="highway" v="residential"/>
|
|
|
|
<select value="1" t="highway" v="cycleway"/>
|
|
|
|
<select value="1" t="highway" v="unclassified"/>
|
|
|
|
<select value="1" t="highway" v="service"/>
|
|
|
|
<select value="1" t="highway" v="track"/>
|
|
|
|
<select value="1" t="highway" v="path"/>
|
|
|
|
<select value="1" t="highway" v="living_street"/>
|
|
|
|
<select value="1" t="highway" v="pedestrian"/>
|
|
|
|
<select value="1" t="highway" v="footway"/>
|
|
|
|
<select value="1" t="highway" v="platform"/>
|
|
|
|
<select value="1" t="highway" v="bridleway"/>
|
|
|
|
<select value="1" t="highway" v="steps"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="-1"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="oneway">
|
|
|
|
<select value="0" t="cycleway" v="opposite_lane"/>
|
|
|
|
<select value="0" t="cycleway" v="opposite_track"/>
|
|
|
|
<select value="0" t="cycleway" v="opposite_share_busway"/>
|
|
|
|
<select value="0" t="cycleway" v="opposite"/>
|
|
|
|
<select value="0" t="oneway:bicycle" v="no"/>
|
|
|
|
<select value="1" t="oneway:bicycle" v="yes"/>
|
|
|
|
<select value="1" t="oneway" v="yes"/>
|
|
|
|
<select value="1" t="oneway" v="1"/>
|
|
|
|
<select value="-1" t="oneway" v="-1"/>
|
|
|
|
<select value="1" t="roundabout"/>
|
|
|
|
<select value="1" t="junction" v="roundabout"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="speed" type="speed">
|
|
|
|
<select value="1" t="highway" v="steps"/>
|
|
|
|
<select value="5" t="route" v="ferry"/>
|
|
|
|
<select value="4" t="bicycle" v="dismount"/>
|
|
|
|
<select value="12" t="highway" v="motorway"/>
|
|
|
|
<select value="12" t="highway" v="motorway_link"/>
|
|
|
|
<select value="12" t="highway" v="trunk"/>
|
|
|
|
<select value="12" t="highway" v="trunk_link"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="18" t="highway" v="primary"/>
|
|
|
|
<select value="18" t="highway" v="primary_link"/>
|
|
|
|
<select value="18" t="highway" v="secondary"/>
|
|
|
|
<select value="18" t="highway" v="secondary_link"/>
|
|
|
|
<select value="18" t="highway" v="tertiary"/>
|
|
|
|
<select value="18" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="18" t="highway" v="road"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="18" t="highway" v="residential"/>
|
|
|
|
<select value="18" t="highway" v="cycleway"/>
|
|
|
|
<select value="13" t="highway" v="unclassified"/>
|
|
|
|
<select value="13" t="highway" v="service"/>
|
|
|
|
<select value="12" t="highway" v="track"/>
|
|
|
|
<select value="12" t="highway" v="path"/>
|
|
|
|
<select value="18" t="highway" v="living_street"/>
|
|
|
|
<select value="14" t="highway" v="pedestrian"/>
|
|
|
|
<select value="14" t="highway" v="footway"/>
|
|
|
|
<select value="13" t="highway" v="platform"/>
|
|
|
|
<select value="13" t="highway" v="bridleway"/>
|
|
|
|
<select value="16"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="priority">
|
|
|
|
<select value="0.1" t="bicycle" v="private"/>
|
|
|
|
<select value="0.1" t="bicycle" v="destination"/>
|
|
|
|
<select value="0.1" t="access" v="private"/>
|
|
|
|
<select value="0.1" t="barrier" v="debris"/>
|
|
|
|
<select value="0.1" t="bicycle" v="use_sidepath"/>
|
|
|
|
|
|
|
|
<if param="avoid_unpaved">
|
|
|
|
<select value="0.4" t="tracktype" v="grade2"/>
|
|
|
|
<select value="0.1" t="tracktype" v="grade3"/>
|
|
|
|
<select value="0.1" t="tracktype" v="grade4"/>
|
|
|
|
<select value="0.1" t="tracktype" v="grade5"/>
|
|
|
|
<select value="0.1" t="surface" v="unpaved"/>
|
|
|
|
<select value="0.4" t="surface" v="compacted"/>
|
|
|
|
<select value="0.1" t="surface" v="dirt"/>
|
|
|
|
<select value="0.1" t="surface" v="gravel"/>
|
|
|
|
<select value="0.4" t="surface" v="fine_gravel"/>
|
|
|
|
<select value="0.1" t="surface" v="grass"/>
|
|
|
|
<select value="0.1" t="surface" v="ground"/>
|
|
|
|
<select value="0.1" t="surface" v="mud"/>
|
|
|
|
<select value="0.1" t="surface" v="pebblestone"/>
|
|
|
|
<select value="0.1" t="surface" v="sand"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="0.3" t="surface" v="wood"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
</if>
|
|
|
|
|
|
|
|
<select value="0.5" t="bicycle" v="dismount"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
|
|
|
|
<select value="1.0" t="surface" v="concrete"/>
|
|
|
|
<select value="0.8" t="surface" v="concrete:plates"/>
|
|
|
|
<select value="0.8" t="surface" v="concrete:lanes"/>
|
|
|
|
<select value="0.65" t="surface" v="cobblestone"/>
|
|
|
|
<select value="0.8" t="surface" v="pebblestone"/>
|
|
|
|
<select value="0.9" t="surface" v="compacted"/>
|
|
|
|
<select value="0.9" t="surface" v="sett"/>
|
|
|
|
<select value="0.8" t="surface" v="ground"/>
|
|
|
|
<select value="0.6" t="surface" v="gravel"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="0.8" t="surface" v="unpaved"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="0.7" t="surface" v="grass"/>
|
|
|
|
<select value="0.3" t="surface" v="sand"/>
|
|
|
|
<select value="0.1" t="surface" v="mud"/>
|
|
|
|
<select value="0.9" t="tracktype" v="grade2"/>
|
|
|
|
<select value="0.8" t="tracktype" v="grade3"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="0.8" t="tracktype" v="grade4"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="0.7" t="tracktype" v="grade5"/>
|
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="1.6" t="cycleway" v="lane"/>
|
|
|
|
<select value="1.6" t="cycleway" v="opposite_lane"/>
|
|
|
|
<select value="1.6" t="cycleway" v="share_busway"/>
|
|
|
|
<select value="1.6" t="cycleway" v="track"/>
|
|
|
|
<select value="1.6" t="cycleway" v="opposite_track"/>
|
|
|
|
<select value="1.6" t="cycleway" v="shared"/>
|
|
|
|
<select value="1.6" t="cycleway" v="shared_lane"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="1.6" t="bicycle_road" v="yes"/>
|
2016-04-19 21:43:32 +02:00
|
|
|
|
|
|
|
<select value="1.5" t="highway" v="cycleway"/>
|
|
|
|
|
|
|
|
<select value="1.5" t="bicycle" v="official"/>
|
|
|
|
<select value="1.4" t="bicycle" v="designated"/>
|
|
|
|
<select value="1.2" t="bicycle" v="yes"/>
|
|
|
|
|
|
|
|
<select value="0.5" t="highway" v="motorway"/>
|
|
|
|
<select value="0.5" t="highway" v="motorway_link"/>
|
|
|
|
<select value="0.5" t="highway" v="trunk"/>
|
|
|
|
<select value="0.5" t="highway" v="trunk_link"/>
|
|
|
|
|
|
|
|
<select value="0.6" t="smoothness" v="very_bad"/>
|
|
|
|
<select value="0.5" t="smoothness" v="horrible"/>
|
|
|
|
<select value="0.4" t="smoothness" v="very_horrible"/>
|
|
|
|
<select value="0.1" t="smoothness" v="impassable"/>
|
|
|
|
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<point attribute="obstacle_time">
|
2016-07-24 11:37:26 +02:00
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="10" t="barrier" v="cycle_barrier"/>
|
|
|
|
<select value="5" t="barrier"/>
|
|
|
|
<select value="30" t="highway" v="traffic_signals"/>
|
|
|
|
<select value="10" t="crossing" v="unmarked"/>
|
|
|
|
<select value="5" t="crossing" v="uncontrolled"/>
|
|
|
|
<select value="30" t="crossing" v="traffic_signals"/>
|
|
|
|
<select value="15" t="highway" v="stop"/>
|
|
|
|
<select value="7" t="highway" v="give_way"/>
|
|
|
|
<select value="25" t="highway" v="ford"/>
|
|
|
|
<select value="25" t="ford"/>
|
|
|
|
|
|
|
|
<select value="25" t="railway" v="crossing"/>
|
|
|
|
<select value="25" t="railway" v="level_crossing"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
</point>
|
|
|
|
|
|
|
|
<point attribute="obstacle">
|
|
|
|
<if param="avoid_borders">
|
|
|
|
<select value="-1" t="barrier" v="border_control"/>
|
|
|
|
</if>
|
|
|
|
<select value="-1" t="bicycle" v="no"/>
|
|
|
|
<select value="1" t="bicycle" v="yes"/>
|
|
|
|
<select value="1" t="bicycle" v="permissive"/>
|
|
|
|
<select value="1" t="bicycle" v="designated"/>
|
|
|
|
<select value="1" t="bicycle" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="vehicle" v="no"/>
|
|
|
|
<select value="-1" t="vehicle" v="agricultural"/>
|
|
|
|
<select value="-1" t="vehicle" v="forestry"/>
|
|
|
|
<select value="1" t="vehicle" v="yes"/>
|
|
|
|
<select value="1" t="vehicle" v="permissive"/>
|
|
|
|
<select value="1" t="vehicle" v="designated"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
|
|
|
<select value="-1" t="access" v="agricultural"/>
|
|
|
|
<select value="-1" t="access" v="forestry"/>
|
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
|
|
|
|
<select value="10" t="barrier" v="cycle_barrier"/>
|
|
|
|
<select value="5" t="barrier"/>
|
|
|
|
<select value="10" t="highway" v="traffic_signals"/>
|
|
|
|
<select value="10" t="crossing" v="unmarked"/>
|
|
|
|
<select value="5" t="crossing" v="uncontrolled"/>
|
|
|
|
<select value="30" t="crossing" v="traffic_signals"/>
|
|
|
|
<select value="10" t="highway" v="stop"/>
|
|
|
|
<select value="7" t="highway" v="give_way"/>
|
|
|
|
<select value="25" t="highway" v="ford" />
|
|
|
|
<select value="25" t="ford" />
|
2016-07-24 11:37:26 +02:00
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
</point>
|
|
|
|
</routingProfile>
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
<!-- NEW ROUTING API -->
|
|
|
|
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
|
|
|
|
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
|
|
|
|
|
|
|
|
<way attribute="access">
|
|
|
|
<select value="-1" t="osmand_change" v="delete"/>
|
|
|
|
<if param="avoid_motorway">
|
|
|
|
<select value="-1" t="highway" v="motorway"/>
|
|
|
|
<select value="-1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="-1" t="highway" v="trunk"/>
|
|
|
|
<select value="-1" t="highway" v="trunk_link"/>
|
|
|
|
</if>
|
|
|
|
<select value="-1" t="route" v="ferry">
|
|
|
|
<if param="avoid_ferries"/>
|
|
|
|
</select>
|
|
|
|
<select value="-1" t="foot" v="no"/>
|
|
|
|
<select value="1" t="foot" v="yes"/>
|
|
|
|
<select value="1" t="foot" v="permissive"/>
|
|
|
|
<select value="1" t="foot" v="designated"/>
|
|
|
|
<select value="1" t="foot" v="destination"/>
|
|
|
|
<select value="1" t="foot" v="official"/>
|
|
|
|
<select value="1" t="foot" v="use_sidepath"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
|
|
|
<select value="-1" t="access" v="private"/>
|
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
|
|
|
|
<select value="-1" t="crossing" v="no"/>
|
|
|
|
|
|
|
|
<select value="1" t="highway" v="motorway"/>
|
|
|
|
<select value="1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1" t="highway" v="trunk"/>
|
|
|
|
<select value="1" t="highway" v="trunk_link"/>
|
|
|
|
<select value="1" t="highway" v="primary"/>
|
|
|
|
<select value="1" t="highway" v="primary_link"/>
|
|
|
|
<select value="1" t="highway" v="secondary"/>
|
|
|
|
<select value="1" t="highway" v="secondary_link"/>
|
|
|
|
<select value="1" t="highway" v="tertiary"/>
|
|
|
|
<select value="1" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="1" t="highway" v="road"/>
|
|
|
|
<select value="1" t="highway" v="residential"/>
|
|
|
|
<select value="1" t="highway" v="cycleway"/>
|
|
|
|
<select value="1" t="highway" v="unclassified"/>
|
|
|
|
<select value="1" t="highway" v="service"/>
|
|
|
|
<select value="1" t="highway" v="track"/>
|
|
|
|
<select value="1" t="highway" v="path"/>
|
|
|
|
<select value="1" t="highway" v="living_street"/>
|
|
|
|
<select value="1" t="highway" v="pedestrian"/>
|
|
|
|
<select value="1" t="highway" v="footway"/>
|
|
|
|
<select value="1" t="highway" v="platform"/>
|
|
|
|
<select value="1" t="railway" v="platform"/>
|
|
|
|
<select value="1" t="public_transport" v="platform"/>
|
|
|
|
<select value="1" t="highway" v="bridleway"/>
|
|
|
|
<select value="1" t="highway" v="steps"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="-1"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="oneway">
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="speed" type="speed">
|
|
|
|
<select value="4" t="highway" v="steps"/>
|
|
|
|
<select value="5"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<way attribute="priority">
|
|
|
|
<!-- Additional tags -->
|
|
|
|
<select value="0.05" t="foot" v="private"/>
|
|
|
|
<select value="0.05" t="foot" v="destination"/>
|
|
|
|
|
|
|
|
<!-- Q? access=destination should not be used foot or what is the proposed schemeß
|
|
|
|
http://www.openstreetmap.org/way/173188624#map=18/39.56805/2.64846
|
|
|
|
should be
|
|
|
|
<select value="0.05" t="access" v="private"/>
|
|
|
|
<select value="0.05" t="access" v="destination"/>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<select value="1.2" t="sidewalk" v="yes"/>
|
|
|
|
<select value="0.9" t="sidewalk" v="no"/>
|
|
|
|
|
|
|
|
<select value="0.1" t="foot" v="use_sidepath"/>
|
|
|
|
|
|
|
|
<!-- object tags -->
|
|
|
|
<select value="0.7" t="highway" v="motorway"/>
|
|
|
|
<select value="0.7" t="highway" v="motorway_link"/>
|
|
|
|
<select value="0.7" t="highway" v="trunk"/>
|
|
|
|
<select value="0.7" t="highway" v="trunk_link"/>
|
|
|
|
<select value="0.8" t="highway" v="bridleway"/>
|
|
|
|
<select value="0.9" t="highway" v="service"/>
|
|
|
|
<select value="0.9" t="highway" v="primary"/>
|
|
|
|
<select value="0.9" t="highway" v="primary_link"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="1.2" t="highway" v="steps"/>
|
|
|
|
<select value="1.2" t="highway" v="living_street"/>
|
|
|
|
<select value="1.2" t="highway" v="pedestrian"/>
|
|
|
|
<select value="1.2" t="highway" v="footway"/>
|
|
|
|
|
|
|
|
<select value="1"/>
|
|
|
|
</way>
|
|
|
|
|
|
|
|
<point attribute="obstacle_time">
|
|
|
|
<select value="5" t="highway" v="traffic_signals"/>
|
|
|
|
<select value="10" t="crossing" v="unmarked"/>
|
|
|
|
<select value="5" t="crossing" v="uncontrolled"/>
|
|
|
|
<select value="30" t="crossing" v="traffic_signals"/>
|
|
|
|
<select value="5" t="highway" v="crossing"/>
|
|
|
|
<select value="5" t="highway" v="ford" />
|
|
|
|
<select value="5" t="ford" />
|
|
|
|
<select value="5" t="railway" v="crossing" />
|
|
|
|
<select value="5" t="railway" v="level_crossing"/>
|
|
|
|
</point>
|
|
|
|
|
|
|
|
<point attribute="obstacle">
|
|
|
|
<select value="-1" t="foot" v="no"/>
|
|
|
|
<select value="1" t="foot" v="yes"/>
|
|
|
|
<select value="1" t="foot" v="permissive"/>
|
|
|
|
<select value="1" t="foot" v="designated"/>
|
|
|
|
<select value="1" t="foot" v="destination"/>
|
|
|
|
<select value="1" t="foot" v="official"/>
|
|
|
|
|
|
|
|
<select value="-1" t="access" v="no"/>
|
2016-07-24 11:37:26 +02:00
|
|
|
<select value="-1" t="access" v="private"/>
|
|
|
|
|
2016-04-19 21:43:32 +02:00
|
|
|
<select value="1" t="access" v="yes"/>
|
|
|
|
<select value="1" t="access" v="permissive"/>
|
|
|
|
|
|
|
|
<select value="-1" t="crossing" v="no"/>
|
|
|
|
</point>
|
|
|
|
</routingProfile>
|
2016-07-24 11:37:26 +02:00
|
|
|
<routingProfile name="geocoding" baseProfile="car" restrictionsAware="true" minDefaultSpeed="10.0" maxDefaultSpeed="10.0">
|
|
|
|
<way attribute="access">
|
|
|
|
<select value="1" t="highway" v="motorway"/>
|
|
|
|
<select value="1" t="highway" v="motorway_link"/>
|
|
|
|
<select value="1" t="highway" v="trunk"/>
|
|
|
|
<select value="1" t="highway" v="trunk_link"/>
|
|
|
|
<select value="1" t="highway" v="primary"/>
|
|
|
|
<select value="1" t="highway" v="primary_link"/>
|
|
|
|
<select value="1" t="highway" v="secondary"/>
|
|
|
|
<select value="1" t="highway" v="secondary_link"/>
|
|
|
|
<select value="1" t="highway" v="tertiary"/>
|
|
|
|
<select value="1" t="highway" v="tertiary_link"/>
|
|
|
|
<select value="1" t="highway" v="unclassified"/>
|
|
|
|
<select value="1" t="highway" v="road"/>
|
|
|
|
<select value="1" t="highway" v="residential"/>
|
|
|
|
<select value="1" t="highway" v="track"/>
|
|
|
|
<select value="1" t="highway" v="service"/>
|
|
|
|
<select value="1" t="highway" v="living_street"/>
|
|
|
|
<select value="1" t="highway" v="pedestrian"/>
|
|
|
|
<select value="1" t="route" v="ferry"/>
|
|
|
|
<select value="1" t="route" v="shuttle_train"/>
|
|
|
|
<select value="-1"/>
|
|
|
|
</way>
|
|
|
|
</routingProfile>
|
2016-04-19 21:43:32 +02:00
|
|
|
</osmand_routing_config>
|