/srv/osrm/osrm-backend/features/foot
NameSizeModeActions
access.feature54170644editdlrm
access_node.feature23830644editdlrm
area.feature33380644editdlrm
barrier.feature16080644editdlrm
distance.feature9030644editdlrm
ferry.feature21080644editdlrm
intersection.feature8070644editdlrm
maxspeed.feature7890644editdlrm
names.feature10470644editdlrm
oneway.feature27510644editdlrm
restrictions.feature41360644editdlrm
roundabout.feature12460644editdlrm
startpoint.feature11100644editdlrm
surface.feature5270644editdlrm
way.feature12600644editdlrm
Edit: /srv/osrm/osrm-backend/features/foot/distance.feature (903B)
@routing @foot Feature: Foot - Use distance weight Background: Given a grid size of 200 meters Scenario: Foot - Check distance weight Given the profile file """ local functions = require('foot') functions.setup_testbot = functions.setup functions.setup = function() local profile = functions.setup_testbot() profile.properties.weight_name = 'distance' return profile end return functions """ Given the node map """ a-b-c """ And the ways | nodes | highway | | abc | residential | When I route I should get | from | to | route | weight | time | distance | | a | b | abc,abc | 200 | 144s | 200m +-1 | | a | c | abc,abc | 400 | 288s | 400m +-1 |