Fix cycleway limitations

This commit is contained in:
Victor Shcherb 2012-07-23 23:21:01 +02:00
parent ffaba063cc
commit 62db58c6b3
2 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,7 @@ public class MapRoutingTypes {
TAGS_TEXT.add("duration");
TAGS_TO_SAVE.add("barrier");
TAGS_TO_SAVE.add("bicycle");
TAGS_TO_SAVE.add("bridge");
TAGS_TO_SAVE.add("construction");
TAGS_TO_SAVE.add("direction");

View file

@ -126,6 +126,8 @@
<obstacle tag="highway" value="traffic_signals" penalty="30"/>
<obstacle tag="railway" value="crossing" penalty="15"/>
<obstacle tag="railway" value="level_crossing" penalty="15"/>
<avoid tag="bicycle" value="no"/>
</routingProfile>
<routingProfile name="pedestrian" baseProfile="pedestrian" restrictionsAware="false" minDefaultSpeed="3" maxDefaultSpeed="5"
@ -163,6 +165,9 @@
<obstacle tag="highway" value="traffic_signals" penalty="30"/>
<obstacle tag="railway" value="crossing" penalty="15"/>
<obstacle tag="railway" value="level_crossing" penalty="15"/>
<avoid tag="foot" value="no"/>
<avoid tag="pedestrian" value="no"/>
</routingProfile>
</osmand_routing_config>