/srv/osrm/osrm-backend/features/bicycle
NameSizeModeActions
access.feature122820644editdlrm
access_node.feature44130644editdlrm
alley.feature11410644editdlrm
area.feature32390644editdlrm
barrier.feature16140644editdlrm
bridge.feature15850644editdlrm
classes.feature38040644editdlrm
cycleway.feature57680644editdlrm
destination.feature23340644editdlrm
distance.feature9090644editdlrm
exclude.feature20450644editdlrm
ferry.feature20940644editdlrm
maxspeed.feature45280644editdlrm
mode.feature30580644editdlrm
names.feature9470644editdlrm
oneway.feature79730644editdlrm
pushing.feature52050644editdlrm
restrictions.feature47060644editdlrm
safety.feature93380644editdlrm
startpoint.feature16160644editdlrm
stop_area.feature14700644editdlrm
surface.feature29360644editdlrm
train.feature25140644editdlrm
turn_penalty.feature12730644editdlrm
way.feature15630644editdlrm
Edit: /srv/osrm/osrm-backend/features/bicycle/turn_penalty.feature (1273B)
@routing @bicycle @turn_penalty Feature: Turn Penalties Background: Given the profile "bicycle" Given a grid size of 200 meters Scenario: Bicycle - Turn penalties on cyclability Given the profile file "bicycle" initialized with """ profile.properties.weight_name = 'cyclability' """ Given the node map """ a--b-----c | | d e--------f-----------g / / / h """ And the ways | nodes | highway | | abc | residential | | bd | residential | | efg | residential | | fh | residential | When I route I should get | from | to | distance | weight | # | | a | c | 900m +- 1 | 216 | Going straight has no penalties | | a | d | 900m +- 1 | 220.2 | Turning right had penalties | | e | g | 2100m +- 5| 503.9 | Going straght has no penalties | | e | h | 2100m +- 5| 515.1 | Turn sharp right has even higher penalties|