Michael Krasnyk
b28077a437
Use rate rounding up to tenth in routability tests
2017-07-03 21:58:32 +00:00
Patrick Niklaus
596890a0f4
Fix spelling of access=customer_s_ and add to the restricted list way whitelisted highways
2017-03-06 16:14:26 +00:00
Patrick Niklaus
cc3a4899a2
Only allow restricted access for road of certain highway type
2017-03-03 16:03:41 +00:00
Patrick Niklaus
fbf7521769
Other flakey test
2017-03-02 15:24:51 +00:00
Patrick Niklaus
7c911b3891
Mark test as flaky and track in own issue.
2017-03-02 14:55:52 +00:00
karenzshea
c2727f2029
expose data about turning onto restricted roads to turn function
2017-02-20 12:40:51 +00:00
Daniel Patterson
73ce44028f
Allow routing on toll roads by default ( #3712 )
2017-02-14 15:20:10 -08:00
Patrick Niklaus
2e6428e917
Fix HOV lane support with penalties
2017-02-10 14:27:28 +00:00
karenzshea
1f3a8d4538
remove units from rate columns in routability testing
2017-02-10 14:27:28 +00:00
karenzshea
1c25070572
provide rate and weight headers for checking in routability tests
2017-02-10 14:27:28 +00:00
Daniel J. Hofmann
919386bdaf
Adds access=permissive
routability scenarios, see #3435 .
2017-02-08 14:27:55 +00:00
Patrick Niklaus
ae835cc04f
Blacklist steps from the car profile
2017-02-08 14:27:55 +00:00
Michael Krasnyk
1628ebb871
Fix assertions in car profile, resolves #3629
...
restrict direction if access tag is missing and can not be derived
from highway tag
http://www.openstreetmap.org/way/4282676
http://www.openstreetmap.org/way/4621857
http://www.openstreetmap.org/way/4898368
2017-02-03 12:41:26 +00:00
Daniel J. Hofmann
94854b5c90
Adds barrier=gate regression tests, see #581
2016-12-15 12:03:24 +01:00
Daniel J. Hofmann
98659fb0a0
Adds failing tests for directional access overrides, discovered in #3345
2016-12-13 17:37:42 +01:00
Emil Tin
9461c83511
car profile: handle forward/backward access
2016-12-05 14:15:47 +01:00
Emil Tin
532cbfce13
profiles: Directional helper, some car refactoring
2016-12-05 14:15:47 +01:00
Daniel Patterson
ceddfada3d
Don't mark all lanes as designated when there are blank lane specifiers in the tag.
2016-10-25 14:37:59 -06:00
Daniel J. Hofmann
a63b10972b
Handle HOV designated-only Lanes, resolves #2929
...
In https://github.com/Project-OSRM/osrm-backend/issues/2711 we made
`hov=designated` routability configurable.
We want to handle designated-only lanes in the same way. Example:
hov:lanes:forward=designated|designated
hov:lanes:backward=designated
should have more or less the same effects as
hov=designated
In contrast
hov:lanes:forward=designated|no|yes hov:lanes:backward=yes
should not be handled. See
https://github.com/Project-OSRM/osrm-backend/issues/2711
for explanation wrt. tag semantics with the difference that
backward/forward only set the backward/forward mode to inaccessible.
References:
- http://wiki.openstreetmap.org/wiki/Key:hov#hov:lanes.3D.2A
2016-09-21 10:56:42 +02:00
Patrick Niklaus
12d478784b
Enable toll roads by default again.
...
Currently we don't route over the Golden Gate bridge by default.
This sets the value to false by default. To test the behavior for
tolls when ignored, we would need issue #2781 implemented.
2016-08-19 13:01:15 +02:00
Daniel J. Hofmann
8bee57b0b0
Makes toll=yes way's routability configurable in profiles.
...
The primary use-case is conditionally filtering ways such as:
https://www.openstreetmap.org/edit#map=18/38.94198/-77.28127
which we are guiding the user onto in the route from DC to IAD:
http://map.project-osrm.org/?z=12¢er=38.934443%2C-77.167969&loc=38.902656%2C-77.029095&loc=38.952210%2C-77.453424&hl=en&alt=0
This changeset makes `toll=yes` configurable in the profiles, disabling
them by default. Neither do we support time-based fees nor vehicle
category fees at the moment.
References:
- http://wiki.openstreetmap.org/wiki/Key:toll
2016-08-04 14:29:22 +02:00
Daniel J. Hofmann
583aaff286
Makes designated HOV way's routability configurable in profiles.
...
Why only `hov=designated` and not all access tags, such as `hov:yes`,
`hov=no` and so on? From the Wiki:
- designated: The way is designated to high occupancy vehicles.
- yes: High occupancy vehicles are allowed. This by itself does not imply that other vehicles are restricted from using the way.
- no: High occupancy vehicles are not allowed on the way. This by itself does not imply that other vehicle types are allowed to use it.
The primary use-case is conditionally filtering ways such as:
http://www.openstreetmap.org/way/11198593#map=19/37.82571/-122.30521&layers=D
In addition there is a notion of HOV lanes for lane handling:
http://wiki.openstreetmap.org/wiki/Key:hov#hov:lanes.3D.2A
This changeset does not handle lanes at all, only designated HOV ways.
For HOV lane support, a logic similar to the lane access handling needs
to be implemented. This needs to go hand in hand with the existing lane
handling introduced in:
7d076e9344
References:
- #2711
- http://wiki.openstreetmap.org/wiki/Key:access
- http://wiki.openstreetmap.org/wiki/Key:hov#Values
2016-08-03 12:24:43 +02:00
Daniel J. Hofmann
efe6faabfd
Adds tests for routing over delivery ways and nodes; see #2150 .
2016-04-04 14:00:54 +02:00
Daniel J. Hofmann
c70d138eb9
Spelling: Hierachy vs Hierarchy
2016-04-04 13:58:55 +02:00
Daniel J. Hofmann
b6ef558c86
Make pedestrian roads marked as destination routable with car profile.
...
Check provided tests with:
cucumber --tags @access -p verify
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1617
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian
- http://wiki.openstreetmap.org/wiki/Key:motorcar
- http://wiki.openstreetmap.org/wiki/Key:access
2015-09-03 17:46:20 +02:00
Frederic Rodrigo
26f7ac9ca1
Black list access=psv for car profile
2015-01-09 17:14:16 +00:00
Emil Tin
5f7065848e
clean cucumber comments, fixes 'file to long' problem with latest version of cucumber
2014-04-01 15:30:55 +02:00
Emil Tin
b5bfdb56dc
cleanup indentation of cuke files
2013-08-29 19:29:13 +02:00
Emil Tin
d4db5cca1c
fixing typo in forestry access
2012-12-23 19:32:26 +01:00
Emil Tin
ec56478a3c
cucumber cleanup, removed unused code
2012-12-16 13:36:47 +01:00
Emil Tin
5e1dc11000
fix a few tests
2012-10-04 14:39:59 +02:00
Emil Tin
8e31b8860c
more access tests combinations and other modes
2012-10-04 12:07:38 +02:00
Emil Tin
794c3490fe
add test for acces hierachy on nodes
2012-10-04 11:38:29 +02:00
Emil Tin
216157e00d
simply access hierachy test, add tests for implied access
2012-10-04 11:30:29 +02:00
Emil Tin
59025ca2da
add tests for hierachy of access tags
2012-10-03 22:56:41 +02:00
Emil Tin
4b00557fda
better handling of access and barrier tags
2012-10-03 19:14:44 +02:00
Emil Tin
1ad274ed2e
more reorganizing of tests
2012-10-01 13:33:47 +02:00
Emil Tin
d4352b84ac
reorganizating tests into car/bike/foot
2012-10-01 12:36:06 +02:00