Michael Bell
d96960f9cc
Support snapping to multiple ways at an input location
...
This PR improves routing results by adding support for snapping to
multiple ways at input locations.
This means all edges at the snapped location can act as source/target
candidates for routing search, ensuring we always find the best route,
and not the one dependent on the edge selected.
2022-08-27 11:28:25 +01:00
Siarhei Fedartsou
aadc088084
Fix distance calculation consistency. ( #6315 )
...
Consolidate great circle distance calculations to use cheap ruler library.
2022-08-19 22:31:40 +01:00
Jeroen Hoek
92406da194
Bicycle: treat use_sidepath as no access
...
Fixes #5557 .
2019-12-01 18:34:58 +01:00
MichalPP
8dd8ee1fc2
blacklisting barriers allow routing
...
blacklisting barriers allow routing over barrier=some_tag
2018-05-28 17:21:08 +02:00
Patrick Niklaus
b331885d3c
Add test fo excluding ferries on bikes
2018-04-26 21:46:20 +02:00
Patrick Niklaus
73716bd651
Add support for classes on bicycle profile
2018-04-26 21:46:20 +02:00
Huyen Chau Nguyen
7b8619e37c
adjust tests to changes
2018-04-16 11:39:44 +02:00
Huyen Chau Nguyen
bdb116afe5
Fix wrong one-way identification in the bike profile
...
* upgrade to api version 4
* set bike pushing speed to 4km/h and add mode change penalty
* set cycleways for two-way and one-way roads according correctly
* add changelog
* adjust tests according to change of the walking speed
* adjust tests according to new behaviour of opposite, track and lane in one-ways
* refactor the cycleway identification
* comment to understand weird counterintuitive testcase
* adjust sliproad test because walking speed is now slower
2018-03-19 16:02:25 +01:00
Daniel J. Hofmann
a3c0f6a4e2
Adds exception for barrier=lift_gate (bike, walk), resolves #4490
2017-10-19 15:27:35 +01:00
Michael Krasnyk
5661726e2e
Add feature tests for distance weights in foot and bicycle profiles
2017-09-18 16:40:51 +02:00
Moritz Kobitzsch
3a01ba52ef
remove a few tests that are simply testing same code paths as others
2017-08-10 12:28:31 +02:00
Emil Tin
e413b25cd9
profiles api v2
2017-07-18 10:09:22 +00:00
Emil Tin
5ede5577d1
avoid fuzzy ferry test
2017-07-07 16:16:13 +00:00
Emil Tin
0bfbe5ad16
handle startpoint in bicycle profile, add tests
2017-07-07 16:16:13 +00:00
Michael Krasnyk
1bee82e288
Make safety penalties graduation for primary, secondary and tertiary
2017-07-03 21:58:32 +00:00
Michael Krasnyk
a41caf0efb
Adjustment of bicycle profile to review comments
2017-07-03 21:58:32 +00:00
Michael Krasnyk
a3e0eb03db
Implement bicycle safety penalty
2017-07-03 21:58:32 +00:00
Patrick Niklaus
34f62b4894
Add test case for safety features on cycleways
2017-07-03 21:58:32 +00:00
Emil Tin
9922c0f4f7
adjust tests, cycleway allows cycling on footway
2017-06-22 14:20:42 +00:00
Emil Tin
f27434f2fb
fixes #4060 , incorrect cycling against oneways
2017-06-22 14:20:42 +00:00
Daniel J. Hofmann
f3558260b6
Splits turn penalty tests into bicycle and testbot domain, resolves #4067
2017-05-31 10:47:43 +02:00
Patrick Niklaus
d8877abf26
Fix weight value for alley
2017-05-16 16:19:17 +00:00
Patrick Niklaus
bce3b68281
Add regression test
2017-05-16 16:19:17 +00:00
Patrick Niklaus
21cd1a44e8
Add failing test case for alleys
2017-05-05 17:06:50 +00:00
Emil Tin
5a2da798c8
fixes speed on cycleway+oneway #3853
2017-03-28 12:07:38 +02:00
Emil Tin
ee076e6156
cucumber: enable checking mode in routability tables ( #3748 )
...
* cucumber: enable checking mode in routability tables
* show actual mode when expected was none
* minor fixes
2017-03-07 09:56:19 +01:00
Moritz Kobitzsch
6c3390f14d
refactor of post-processing
...
- moves collapse into a dedicated set of functions / files
- make collapse scenarios distinct (slight performance cost)
- reduce verbosity for short name segments (now actually working, was supposed to do so before)
2017-02-25 12:17:22 +00:00
Michael Krasnyk
112cf55aae
use white list as a set complement of blacklist for bicycle profile
...
http://www.openstreetmap.org/way/4788559
2017-02-08 14:29:28 +00:00
Patrick Niklaus
aa3f208032
Add access=permissive check for all profiles
2017-02-08 14:27:55 +00:00
Daniel J. Hofmann
cedeb15ade
Adds surface=sett to bicycle profile, resolves #3649
...
References:
- http://taginfo.openstreetmap.org/keys/surface#values
- http://wiki.openstreetmap.org/wiki/Key:surface
2017-02-06 10:54:56 +01:00
Michael Krasnyk
6da4d918d0
Allow bicycle routing without access tag for railways with highway tag
...
http://www.openstreetmap.org/way/24455356
2017-02-03 12:41:26 +00:00
Michael Krasnyk
e8167b2e4e
Use round for float to fixed coordinate transformations
2017-01-20 12:31:45 +01:00
karenzshea
8ffe915395
do not emit turns on ferries
2016-12-23 15:01:02 +01:00
karenzshea
9fe0e91d92
add tests for bridleways
2016-11-22 10:18:55 +01:00
Patrick Niklaus
f19bf70b55
Account for imprecision in distance computation
2016-11-18 17:46:32 +01:00
Patrick Niklaus
24fa94af59
Remove obsolete test code
2016-11-18 17:46:32 +01:00
Daniel J. Hofmann
ef2261661c
Remove {highway: type} fallback from bike / walk profile, fixes #3231
...
References:
- https://github.com/Project-OSRM/osrm-text-instructions/issues/62#issuecomment-257889721
- https://github.com/Project-OSRM/osrm-text-instructions/pull/63
2016-11-08 14:28:56 +01:00
karenzshea
5617d3886d
Fix cucumber support code for routability testing to actually test
...
input/output for speed and time values, adjust resulting broken tests
2016-10-17 15:45:11 -07:00
Emil Tin
7cbb1807e7
cucumber: change syntax of node maps
2016-10-11 09:07:48 +02:00
karenzshea
dcc1b5ab2b
return name and reference separately
2016-09-08 14:28:23 +02:00
Moritz Kobitzsch
efa29edf09
basic turn lane handling
2016-06-27 10:07:41 +02:00
Emil Tin
d21a9a514d
bike: surface should never increase speed
2016-06-25 12:52:54 +02:00
Moritz Kobitzsch
1dfdb38d4a
improve collapse-handling
2016-06-06 10:05:18 +02:00
Daniel J. Hofmann
b78207ddd8
Revert "Add implied oneway cucumber tests for mini roundabouts"
...
This reverts commit bd707b0cfc .
Conflicts:
features/bicycle/oneway.feature
features/car/oneway.feature
2016-06-02 15:00:44 +02:00
Daniel J. Hofmann
c490752ca7
highway=motorway_link does not imply oneway, fixes #1662
...
References:
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link#Tagging_oneway
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway
2016-06-02 13:05:50 +02:00
Daniel J. Hofmann
bd707b0cfc
Add implied oneway cucumber tests for mini roundabouts
2016-06-01 20:17:48 +02:00
Daniel J. Hofmann
f0069d3dcc
Makes bicycle and foot profile's name and ref tag handling consistent with car profile
2016-05-03 00:09:17 +02:00
Moritz Kobitzsch
be5b49e391
Fix local path looping, fixes #2309
2016-04-25 19:37:59 +02:00
karenzshea
6e04da9f8f
remove movable bridge refs in bike profile
2016-04-19 14:24:16 -04:00
Moritz Kobitzsch
fa0a5040e5
adding tests for guidance
2016-04-08 10:43:22 +02:00