given nodes a-b-1-2, and a way ab - when routing from 1 to 2, it doesn't make sense to suggest using ab
Failed scenario: Don't use ways outside area of interest
Time: 2012-02-13T17:02:12Z
<?xml version="1.0" encoding="UTF-8"?>
<osm generator="osrm-test" version="0.6">
<node id="1" version="1" uid="1" user="osrm" timestamp="2000-00-00T00:00:00Z" lon="1.0" lat="1.0">
<tag k="name" v="a"/>
</node>
<node id="2" version="1" uid="1" user="osrm" timestamp="2000-00-00T00:00:00Z" lon="1.000900900900901" lat="1.0">
<tag k="name" v="b"/>
</node>
<node id="3" version="1" uid="1" user="osrm" timestamp="2000-00-00T00:00:00Z" lon="1.0018018018018018" lat="1.0">
<tag k="name" v="1"/>
</node>
<node id="4" version="1" uid="1" user="osrm" timestamp="2000-00-00T00:00:00Z" lon="1.0027027027027027" lat="1.0">
<tag k="name" v="2"/>
</node>
<way id="5" version="1" uid="1" user="osrm" timestamp="2000-00-00T00:00:00Z">
<nd ref="1"/>
<nd ref="2"/>
<tag k="highway" v="primary"/>
<tag k="name" v="ab"/>
</way>
</osm>
[Scenario: Don't use ways outside area of interest]
accessTag = bicycle
defaultSpeed = 17
obeyOneways = yes
useRestrictions = yes
obeyBollards = no
cycleway = 19
primary = 19
primary_link = 19
secondary = 17
secondary_link = 17
tertiary = 15
residential = 15
unclassified = 15
living_street = 13
road = 13
service = 12
track = 12
path = 12
footway = 10
pedestrian = 5
pier = 5
steps = 3
ferry = 5
excludeFromGrid = ferry
Expected: {"from"=>"1", "to"=>"2", "route"=>""}
Got: {"from"=>"1", "to"=>"2", "route"=>"ab"}
Attempt: Backward
Query: http://localhost:5000/viaroute&start=1.0,1.0018018018018018&dest=1.0,1.0027027027027027&output=json&geomformat=cmp
Response: {"version": 0.3,"status":0,"status_message": "Found route between points","route_summary": {"total_distance":0,"total_time":1,"start_point":"ab","end_point":"ab"},"route_geometry": "_ibEsnbE??","route_instructions": [["Head","ab",0,0,189,"0m","N",0]],"via_points":[],"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}
given nodes a-b-1-2, and a way ab - when routing from 1 to 2, it doesn't make sense to suggest using ab
Failed scenario: Don't use ways outside area of interest
Time: 2012-02-13T17:02:12Z
[Scenario: Don't use ways outside area of interest]
accessTag = bicycle
defaultSpeed = 17
obeyOneways = yes
useRestrictions = yes
obeyBollards = no
cycleway = 19
primary = 19
primary_link = 19
secondary = 17
secondary_link = 17
tertiary = 15
residential = 15
unclassified = 15
living_street = 13
road = 13
service = 12
track = 12
path = 12
footway = 10
pedestrian = 5
pier = 5
steps = 3
ferry = 5
excludeFromGrid = ferry
Expected: {"from"=>"1", "to"=>"2", "route"=>""}
Got: {"from"=>"1", "to"=>"2", "route"=>"ab"}
Attempt: Backward
Query: http://localhost:5000/viaroute&start=1.0,1.0018018018018018&dest=1.0,1.0027027027027027&output=json&geomformat=cmp
Response: {"version": 0.3,"status":0,"status_message": "Found route between points","route_summary": {"total_distance":0,"total_time":1,"start_point":"ab","end_point":"ab"},"route_geometry": "_ibEsnbE??","route_instructions": [["Head","ab",0,0,189,"0m","N",0]],"via_points":[],"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}