/srv/osrm/osrm-backend/features/testbot
NameSizeModeActions
64bit.feature8560644editdlrm
alternative.feature17340644editdlrm
alternative_loop.feature23280644editdlrm
annotations.feature38380644editdlrm
approaches.feature90110644editdlrm
bad.feature23350644editdlrm
basic.feature92620644editdlrm
bearing.feature82260644editdlrm
bearing_param.feature48810644editdlrm
compression.feature6370644editdlrm
continue_straight.feature25110644editdlrm
distance.feature69960644editdlrm
distance_matrix.feature235820644editdlrm
duration.feature13180644editdlrm
duration_matrix.feature231890644editdlrm
example.feature13000644editdlrm
exclude.feature38650644editdlrm
exclude_regressions.feature24070644editdlrm
fastest.feature11060644editdlrm
ferry.feature79350644editdlrm
fixed.feature51480644editdlrm
geometry.feature7120644editdlrm
graph.feature10380644editdlrm
impedance.feature33700644editdlrm
load.feature23630644editdlrm
loop.feature29130644editdlrm
matching.feature232250644editdlrm
maxspeed.feature13320644editdlrm
mode.feature110920644editdlrm
multi_level_routing.feature89160644editdlrm
nil.feature11000644editdlrm
oneway.feature10750644editdlrm
oneway_phantom.feature26480644editdlrm
opposite.feature5820644editdlrm
origin.feature26800644editdlrm
overlap.feature11000644editdlrm
penalty.feature51610644editdlrm
planetary.feature24740644editdlrm
projection.feature29830644editdlrm
routes.feature10740644editdlrm
snap.feature51310644editdlrm
snap_intersection.feature187840644editdlrm
speed.feature10050644editdlrm
status.feature38080644editdlrm
summary.feature23420644editdlrm
time.feature82400644editdlrm
traffic_speeds.feature68990644editdlrm
traffic_speeds_overflow.feature10600644editdlrm
traffic_turn_penalties.feature26330644editdlrm
trip.feature129810644editdlrm
turn_penalty.feature10310644editdlrm
utf.feature43030644editdlrm
via.feature122130644editdlrm
weight.feature136340644editdlrm
zero-speed-updates.feature49650644editdlrm
Edit: /srv/osrm/osrm-backend/features/testbot/annotations.feature (3838B)
@routing @speed @annotations Feature: Annotations Scenario: Ensure that turn penalties aren't included in annotations Given the profile "turnbot" Given a grid size of 100 meters Given the node map """ h i j k l m """ And the query options | annotations | duration,speed,weight,nodes | And the ways | nodes | highway | | hk | residential | | il | residential | | jk | residential | | lk | residential | | lm | residential | When I route I should get | from | to | route | a:speed | a:weight | a:nodes | | h | j | hk,jk,jk | 6.7:6.7 | 15:15 | 1:4:3 | | i | m | il,lm,lm | 6.7:6.7 | 15:15 | 2:5:6 | | j | m | jk,lm | 6.7:6.7:6.7 | 15:15:15 | 3:4:5:6 | Scenario: There should be different forward/reverse datasources Given the profile "testbot" And the node map """ a b c d e f g h i """ And the ways | nodes | highway | | abcdefghi | primary | And the contract extra arguments "--segment-speed-file {speeds_file}" And the customize extra arguments "--segment-speed-file {speeds_file}" # Note: 180km/h == 50m/s for speed annotations And the speed file """ 1,2,180,1 2,1,180,1 3,4,180,1 5,6,180,1 8,7,180,1 """ And the query options | annotations | datasources,speed | When I route I should get | from | to | route | a:datasources | a:speed | | a | i | abcdefghi,abcdefghi | 1:0:1:0:1:0:0:0 | 50:10:50:10:50:10:10:10 | | i | a | abcdefghi,abcdefghi | 0:1:0:0:0:0:0:1 | 10:50:10:10:10:10:10:50 | Scenario: datasource name annotations Given the profile "testbot" And the node map """ a b c """ And the ways | nodes | | abc | And the contract extra arguments "--segment-speed-file {speeds_file}" And the customize extra arguments "--segment-speed-file {speeds_file}" And the speed file """ 1,2,180,1 2,1,180,1 """ And the query options | annotations | datasources | # Note - the source names here are specific to how the tests are constructed, # so if this test is moved around (changes line number) or support code # changes how the filenames are generated, this test will need to be updated When I route I should get | from | to | route | am:datasource_names | | a | c | abc,abc | lua profile:63_datasource_name_annotations_speeds | | c | a | abc,abc | lua profile:63_datasource_name_annotations_speeds | Scenario: Speed annotations should handle zero segments Given the profile "testbot" Given the node map """ a -- b --- c | d """ And the ways | nodes | | abc | | cd | # This test relies on the snapping to the EBN cd to introduce a zero segment after the turn And the query options | annotations | speed,distance,duration,nodes | | bearings | 90,5;180,5 | When I route I should get | from | to | route | a:speed | a:distance | a:duration | a:nodes | | a | c | abc,abc | 10:10 | 249.9876189:299.962882 | 25:30 | 1:2:3 |