Patrick Niklaus
4fcb5d28a4
Merge pull request #2624 from oxidase/issues/2617
...
Fix ambiguous data issues
2016-07-13 11:20:40 +02:00
Moritz Kobitzsch
2ddc00c21e
update cucumber to 1.2.1 and remove hack
2016-07-13 11:04:35 +02:00
Daniel J. Hofmann
e76e39a398
Improves Lane Handling for Multi-Hop Roundabout Instruction
...
This changeset implements Lane Anticipation on roundabouts, delimited
by enter / leave step pairs. It does not handle lane anticipation
within a roundabout.
Lane anticipation happens on the granularity of a valid roundbaout:
We discard partial roundabout (enter without exit or exit without
enter) or data issues (no roundabout, exit before enter).
Related:
- https://github.com/Project-OSRM/osrm-backend/issues/2626 for lanes
within a roundabout
- https://github.com/Project-OSRM/osrm-backend/issues/2625 for handling
going straight in lane anticipation
2016-07-13 10:44:12 +02:00
Michael Krasnyk
2b466b2fb2
Fix ambiguity in edges by using names lexicographical order
2016-07-11 05:54:30 +02:00
Michael Krasnyk
e17b306265
Fix ambiguity in edge weights by using minimal weight
2016-07-08 18:20:55 +02:00
Moritz Kobitzsch
f4db79fe9b
fix obvious turn collapsing for straight turns
2016-07-06 10:50:47 +02:00
Moritz Kobitzsch
375331b80c
fixing lua issue in profile
2016-06-28 12:59:02 +02:00
Moritz Kobitzsch
311b348d09
handle sliproads at traffic lights
2016-06-28 10:23:22 +02:00
Moritz Kobitzsch
5905708111
expose lanes as enums, adjusted for comments
2016-06-27 11:12:02 +02:00
Moritz Kobitzsch
5d91b759d1
Implement Turn Lane Api
2016-06-27 10:07:48 +02:00
Daniel J. Hofmann
ec0a1a4ab1
Anticipate Lane Changes
2016-06-27 10:07:43 +02:00
Moritz Kobitzsch
efa29edf09
basic turn lane handling
2016-06-27 10:07:41 +02:00
Moritz Kobitzsch
2a05b70dfc
reduce number of end-of-road instructions in unnecessary cases
2016-06-26 16:40:15 +02:00
Emil Tin
d21a9a514d
bike: surface should never increase speed
2016-06-25 12:52:54 +02:00
Moritz Kobitzsch
4629a20fe4
improve handling of obvious for end-of-road situations
2016-06-24 12:05:42 +02:00
Daniel Patterson
6dedd9cb72
Fix segfault when route includes very short segments.
2016-06-22 14:48:57 -07:00
Moritz Kobitzsch
2868f702a5
fix issues with roundabouts and intersections and sliproads
2016-06-21 16:56:57 +02:00
Michael Krasnyk
8c378191df
Fix omitting the last point's coordinates in the geometry field
2016-06-21 07:06:43 +02:00
Moritz Kobitzsch
3c8781855e
handle steep off-ramps
2016-06-21 00:47:43 +02:00
Michael Krasnyk
26879ca91a
Make build directory configurable via OSRM_BUILD_DIR in tests
2016-06-20 22:43:28 +02:00
Moritz Kobitzsch
306744e5cb
fix roundabout-handling when name changes
2016-06-17 11:02:14 +02:00
Moritz Kobitzsch
47b19f209b
prefer obvious turn assignment over forks
2016-06-13 15:00:18 +02:00
Moritz Kobitzsch
2b5355edca
improve slipway handling to allow multiple styles of turn lanes / turn roads
2016-06-13 11:56:50 +02:00
Moritz Kobitzsch
99004bbec8
add testcase
2016-06-10 10:20:39 +02:00
Moritz Kobitzsch
312e86eb58
handle merge on collapsed instructions
2016-06-06 11:55:14 +02:00
Moritz Kobitzsch
1dfdb38d4a
improve collapse-handling
2016-06-06 10:05:18 +02:00
Daniel J. Hofmann
805d74b6ae
Revert "Fixes roundabout spelling in existing cucumber test"
...
This reverts commit ef7b36da32
.
2016-06-02 15:00:49 +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
b6834da9a4
Revert "Test guidance instructions for entering and leaving mini roundabouts"
...
This reverts commit 9cdc9008aa
.
2016-06-02 14:57:48 +02:00
Patrick Niklaus
ed8d5e0b0a
Add missing semicolon
2016-06-02 14:27:25 +02:00
Lauren Budorick
e8fb312703
Update OSM node IDs annotation cucumber code per d6de2ca71c
2016-06-02 14:27:25 +02:00
Lauren Budorick
6777127497
Add cucumber tests for node IDs
2016-06-02 14:27:25 +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
6edc565c01
Add destinations API feature
2016-06-02 12:00:23 +02:00
Moritz Kobitzsch
58d6e8f4d0
handle short summaries correctly
2016-06-02 00:26:04 +02:00
Patrick Niklaus
0a53775fb3
Expose pronunciation in RouteStep
...
Uses name:pronunciation by default for cars.
2016-06-01 23:17:57 +02:00
Daniel J. Hofmann
9cdc9008aa
Test guidance instructions for entering and leaving mini roundabouts
2016-06-01 20:17:48 +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
ef7b36da32
Fixes roundabout spelling in existing cucumber test
2016-06-01 20:17:48 +02:00
Michael Krasnyk
bfbb313088
Conditional hashing of osrm libraries
2016-05-29 07:39:49 +02:00
Dane Springmeyer
a5c5faa21d
drop support for using DYLD_LIBRARY_PATH on OS X
2016-05-29 06:01:16 +02:00
Patrick Niklaus
d6de2ca71c
Really place annotations in RouteLeg and not Route
2016-05-27 16:46:28 +02:00
Patrick Niklaus
262354f733
Rename annotate to annotations
2016-05-26 23:35:11 +02:00
Patrick Niklaus
2e2f34f241
Fix retry code launch classes
2016-05-26 22:34:39 +02:00
Lauren Budorick
cbbeef5c46
Prune unnecessary cucumber code
2016-05-26 22:34:39 +02:00
Moritz Kobitzsch
823ee54f22
add turn restrictions to test-cases
2016-05-26 21:31:04 +02:00
Daniel Patterson
3d03797e53
Distinguish between offramps and sliproads.
2016-05-26 21:31:04 +02:00
Patrick Niklaus
824afdceca
use 5 seconds as cucumber timeout
2016-05-26 20:02:21 +02:00
Michael Krasnyk
6af7e6866c
Sort file extensions in rename lists
2016-05-26 17:05:11 +02:00
Michael Krasnyk
aaa27333ba
Remove force flags and update extractor/contractor hashes
...
with command line arguments and argument files data.
2016-05-26 16:36:26 +02:00
Moritz Kobitzsch
797f2a196b
handle intersection-access for roundabout correctly
2016-05-26 16:25:26 +02:00
Moritz Kobitzsch
51066ff18f
fix options in step-definitions
2016-05-26 15:38:55 +02:00
Daniel Patterson
0587c5f5c4
Trim datasource names before writing to datafile.
2016-05-24 15:20:14 +02:00
Moritz Kobitzsch
abed7690d0
fix continue on obvious
2016-05-23 17:55:30 +02:00
Patrick Niklaus
89aa6b7881
Add regression test for #2424
2016-05-20 18:52:29 +02:00
Patrick Niklaus
e3ce0c5887
Add fuzzy matching for bearings and intersections list
2016-05-19 16:44:31 +02:00
Patrick Niklaus
3b37769624
Use bearing_before and bearing_after in the bearings field
2016-05-19 16:44:31 +02:00
Moritz Kobitzsch
9c8bf820de
adjusted to in/out. only emit one of them for depart/arrive
2016-05-19 16:44:31 +02:00
Moritz Kobitzsch
4d9aa65e78
intersection classes with variable degree of discretization
2016-05-19 16:44:31 +02:00
Moritz Kobitzsch
a9f674497a
emit turn-straight for obvious turns where the main road continues
2016-05-18 19:54:53 +02:00
Daniel J. Hofmann
d5294bb5d0
Silences warnings when running npm test
2016-05-16 14:43:54 -04:00
Michael Krasnyk
3bbd3a8a65
Remove latitude rounding in yToLat
2016-05-16 00:53:33 +02:00
Daniel Patterson
fa525ad610
Return an array with meta-data for each coordinate.
...
Currently supports duration and distance for each coordinate.
This is particularly useful in map-matching, comparing how
a trip progresses compared to a real GPS trace that is
map-matched.
2016-05-12 01:11:09 +02:00
Patrick Niklaus
c2263fec9b
One TIMEOUT to rule them all
2016-05-05 18:36:30 +02:00
Daniel J. Hofmann
a5a7a03fa0
Cucumber test for destination:ref and no destination=*
2016-05-04 15:28:34 +02:00
Daniel J. Hofmann
c7e19396a4
Guard against mis-tagging: only use destination tag in combination with oneway tag
2016-05-04 15:28:34 +02:00
Daniel J. Hofmann
445e5bed49
Respect ';'-separated list in destination:ref tag
2016-05-04 15:28:34 +02:00
Daniel J. Hofmann
4cf94319df
Basic destination sign handling.
...
This first part in our Exit Sign / Destination Sign quest re-wires
the `destination=` and `destination:ref=` tag to the `ref=` tag (in case
it's the highway does not already have a `ref=` tag).
Doing some analysis on both Berlin and San Francisco it looks like this
will add a couple of thousand `ref=` tags that we will announce in guidance.
References:
- https://github.com/Project-OSRM/osrm-backend/issues/2267#issuecomment-214771682
- http://wiki.openstreetmap.org/wiki/Key:destination
- http://wiki.openstreetmap.org/wiki/Proposed_features/Destination_details
2016-05-04 15:28:34 +02:00
Moritz Kobitzsch
d5f21fd13a
fix test-case
2016-05-04 14:00:34 +02:00
Patrick Niklaus
04eef0463a
Fix the second test that breaks because of phantom node
2016-05-04 14:00:34 +02:00
Patrick Niklaus
82c3bc7b0e
Adapt tests to desired behaviour
2016-05-04 14:00:34 +02:00
Patrick Niklaus
1d33cb96f5
Fix missing semicolon in cucumber support code
2016-05-04 14:00:34 +02:00
Moritz Kobitzsch
648646068c
additional testcase on what I would expect
2016-05-04 14:00:34 +02:00
Daniel Patterson
f251f93a11
Fix summary generation when empty strings are present.
...
Also corrects step ordering when steps have equal durations.
2016-05-04 14:00:34 +02:00
Moritz Kobitzsch
6018fcf490
Introduce on_ramp and off_ramp, deprecate ramp
2016-05-04 12:09:54 +02:00
Moritz Kobitzsch
1e6888c0d3
fix new-name on empty strings
2016-05-04 10:52:55 +02:00
Moritz Kobitzsch
08248e3853
fix 2349
2016-05-03 21:14:31 +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
Lauren Budorick
346146d834
Address comments from b89164c14e
( #2346 )
2016-05-02 08:00:27 -07:00
Lauren Budorick
b8f7569e93
Implement arbitrary turn penalty file IO and integration ( #2306 )
...
Closes #1830
2016-04-29 00:48:13 -07:00
Moritz Kobitzsch
cf17bd38eb
Revert "Revert "switched to space separated suffix/prefix only""
2016-04-28 14:59:17 +02:00
Patrick Niklaus
e88106e990
Revert "switched to space separated suffix/prefix only"
...
This reverts commit e9e935303c
.
2016-04-27 23:20:10 +02:00
Michael Krasnyk
5186b9490d
Fix syntax error position indicators in parameters queries
...
To fix #2193 prefix_length member variable has been added to ParsedURL
that is set to the length of "/service/version/profile/" prefix
when the prefix is accepted by the parser.
Also BOOST_FUSION_ADAPT_STRUCT for osrm::server::api::ParsedURL
has been moved from header to url_parser.cpp to speed up compilation
of CUs that do not use the fusion adaption.
2016-04-27 19:52:23 +02:00
Moritz Kobitzsch
e9e935303c
switched to space separated suffix/prefix only
2016-04-27 19:12:24 +02:00
Moritz Kobitzsch
a154d71841
enable suppression name suffix changes
2016-04-27 18:10:56 +02:00
Moritz Kobitzsch
fddb035539
suppress name additions (xxx -> xxxbridge)
2016-04-27 12:13:42 +02:00
Moritz Kobitzsch
1544a08ea2
introduce roundabout-turns into instruction set
2016-04-27 12:13:42 +02:00
Moritz Kobitzsch
8d68d4c050
fix copy-paste errors in guidance tests
2016-04-26 13:43:22 +02:00
Moritz Kobitzsch
754bc2d274
handle combined turns at segregated roads
2016-04-26 13:13:20 +02:00
Moritz Kobitzsch
3ac061c546
fix guidance issues / improve tests
2016-04-26 10:34:39 +02:00
Moritz Kobitzsch
e59a7926a2
roundabout for segregated entry roads
2016-04-26 01:01:09 +02:00
Moritz Kobitzsch
be5b49e391
Fix local path looping, fixes #2309
2016-04-25 19:37:59 +02:00
Moritz Kobitzsch
d770c35245
refactor guidance
2016-04-25 19:24:59 +02:00
Patrick Niklaus
b07275694a
Add more guidance tests
2016-04-21 23:07:29 +02:00
karenzshea
6e04da9f8f
remove movable bridge refs in bike profile
2016-04-19 14:24:16 -04:00
karenzshea
58c13d2c07
remove movable bridge travel mode references
2016-04-19 12:59:33 -04:00
Patrick Niklaus
6b89803534
Forgot to commit a test
2016-04-13 11:24:14 +02:00
Patrick Niklaus
589767fe6d
uturns -> continue_straight
2016-04-12 23:16:02 +02:00
Daniel J. Hofmann
02f75236cb
Increase the Cucumber timeout, as we're hitting it on Travis.
...
Our OSX Travis builds seem to hit the 2s timeout from time to time,
which is really irritating.
This increases the timeout to 5s, hoping for the best.
2016-04-12 12:17:01 +02:00
Daniel Patterson
43725bae89
Fix Radius Calculation for points collinear in latidue
2016-04-12 11:25:59 +02:00
Patrick Niklaus
cb18c1a54d
Adapt status cucumber tests
2016-04-08 21:03:50 +02:00
Moritz Kobitzsch
fa0a5040e5
adding tests for guidance
2016-04-08 10:43:22 +02:00
Patrick Niklaus
278ec04f5e
Remove left-over summary code
2016-04-05 22:59:14 +02:00
Patrick Niklaus
95787255a1
Fix broken uturns test
2016-04-05 22:59:14 +02:00
Moritz Kobitzsch
470d7600b8
fixes 2219
2016-04-05 22:59:14 +02:00
Daniel J. Hofmann
97401ad99a
Disable steps and alternatives by default
2016-04-05 22:59:14 +02:00
Patrick Niklaus
c209e31ce1
Fix tests for
2016-04-05 22:59:14 +02:00
Daniel Patterson
2cf19010e3
Fix context returned in JSON error (had null bytes).
...
Update status test cases to match new API.
2016-04-05 22:59:14 +02:00
Moritz Kobitzsch
ef1fb08723
fix cucumber tests and issues
2016-04-05 22:59:14 +02:00
Daniel Patterson
e60ebee3f2
Add missing arrival instruction.
2016-04-05 22:59:14 +02:00
Lauren Budorick
4c88fe0fb1
Add arrival instruction
2016-04-05 22:59:14 +02:00
Daniel Patterson
13338414db
Add missing arrival instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
96f49f3b53
Add missing arrival instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
75979d7e1c
Add missing arrival instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
29a2447906
Add missing arrival instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
2f702f61a4
Add missing arrival instruction. This test was incorrect.
2016-04-05 22:59:14 +02:00
Lauren Budorick
5a71acbe3c
Add missing arrival instructions
2016-04-05 22:59:14 +02:00
Daniel Patterson
ca3e8ef09e
Add missing arrive instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
8c44084af1
Add missing arrive instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
d829a390fd
Add missing arrive instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
6b6597e453
Add missing arrive instruction.
2016-04-05 22:59:14 +02:00
Daniel Patterson
97c550d5f6
Add missing arrive instruction to distance feature.
2016-04-05 22:59:14 +02:00
Daniel Patterson
acfd6ab141
Fix missing arrive instruction on bearing tests.
2016-04-05 22:59:14 +02:00
Daniel Patterson
7e790c1aa6
Add missing arrive instructions to time tests.
2016-04-05 22:59:14 +02:00
Lauren Budorick
d1e2aa57a8
start updating testbot fixtures (TODO: the rest)
2016-04-05 22:59:14 +02:00
Lauren Budorick
2e6e3bf0b0
Update raster features to reflect not cutting off arrive instruction
2016-04-05 22:59:14 +02:00
Lauren Budorick
e5025665fc
Update foot features to reflect not cutting off arrive instruction
2016-04-05 22:59:14 +02:00
Lauren Budorick
1a8097f810
Update car features to reflect not cutting off arrival instruction
2016-04-05 22:59:14 +02:00
Patrick Niklaus
e4e85e6f7e
Fix some via tests
2016-04-05 22:59:14 +02:00
Daniel Patterson
5beaf695ed
Fix bearing param tests. Have not yet fixed the cause of the two failing cases.
2016-04-05 22:59:14 +02:00
Lauren Budorick
d09827b501
Update bicycle tests to reflect not cutting off arrive step
2016-04-05 22:59:14 +02:00
Patrick Niklaus
8111baa8f9
Remove unused detach parameter
2016-04-05 22:59:14 +02:00
Daniel Patterson
d6e4dc0aa2
Add 'arrive' step to route descriptions.
2016-04-05 22:59:14 +02:00
Daniel Patterson
497da1d29b
Colorize test result diff output.
2016-04-05 22:59:14 +02:00
Lauren Budorick
cbc8b64854
unbreak the zombiekilling
2016-04-05 22:59:14 +02:00
Lauren Budorick
c06f2a50f1
Fix routability now that we don't chop off a step
2016-04-05 22:59:14 +02:00
Patrick Niklaus
825a422721
Remove arrive filter
2016-04-05 22:59:14 +02:00
Patrick Niklaus
6dda899a60
There is no timestamp service anymore
2016-04-05 22:59:14 +02:00
Lauren Budorick
8725e2f40d
Remove one more compass column; update polyline encoding tests
2016-04-05 22:59:14 +02:00
Patrick Niklaus
35c501c203
.json hotfix
2016-04-05 22:59:14 +02:00
Lauren Budorick
49e2cb6c36
Fix raster_source + tests
2016-04-05 22:59:14 +02:00
Lauren Budorick
4b60fc4747
return geometry from new API
2016-04-05 22:59:14 +02:00
Lauren Budorick
164fb09f2c
Fix route/bearing param
2016-04-05 22:59:14 +02:00
Lauren Budorick
5647e6c199
Fix double shutdown
2016-04-05 22:59:14 +02:00
Lauren Budorick
a4d6544764
Fix alternatives option test, chdirs on fail, spacing
2016-04-05 22:59:14 +02:00
Lauren Budorick
e942f6e420
Update pushing test to reflect better guidance
2016-04-05 22:59:14 +02:00
Lauren Budorick
e8035ced5a
Fix trips + matchLocation
2016-04-05 22:59:14 +02:00
Jeff Miccolis
70a086a9e1
make eslint happy
2016-04-05 22:59:14 +02:00
Jeff Miccolis
08cb6d1f63
Fix timestamp handling, restores testbot/matching test
2016-04-05 22:59:14 +02:00
Lauren Budorick
c7f3645fe2
Status fixes
2016-04-05 22:59:14 +02:00