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
Lauren Budorick
4b6a85aae0
Distance matrix fixes
2016-04-05 22:59:14 +02:00
Lauren Budorick
c8a8859d2f
rm console.log my bad
2016-04-05 22:59:14 +02:00
Lauren Budorick
8c0f47f06c
Fix guidance/roundabout spacing
2016-04-05 22:59:14 +02:00
Lauren Budorick
926290dd9c
enter_roundabout -> roundabout-exit (these are still off by one @mokob ?)
2016-04-05 22:59:14 +02:00
karenzshea
6ae3315bb9
parse for the right nearest output coordinate
2016-04-05 22:59:14 +02:00
Jeff Miccolis
8621b1890e
Fix testbot turns
2016-04-05 22:59:14 +02:00
karenzshea
c726001a0e
console error which files are missing for osrm-routed
2016-04-05 22:59:14 +02:00
Jeff Miccolis
eba5f7d275
Matrix times are on seconds now. Removing POST matrix tests
2016-04-05 22:59:14 +02:00
Lauren Budorick
2f793473cc
head/destination -> depart/arrive to reflect guidance API changes; minor fixes for roundabout tests
2016-04-05 22:59:14 +02:00
karenzshea
91567cad9e
update osrm-routed options menu
2016-04-05 22:59:14 +02:00
Jeff Miccolis
d48ee84ae7
Return first alternative in tests
2016-04-05 22:59:14 +02:00
Jeff Miccolis
fd000cad86
Remove compass direction test handling
2016-04-05 22:59:14 +02:00
Lauren Budorick
6244063073
#2155 is fixed
2016-04-05 22:59:14 +02:00
Jeff Miccolis
f34de8422e
eslinting
2016-04-05 22:59:14 +02:00
Jeff Miccolis
a33edd15b4
Update alternatives flag
2016-04-05 22:59:14 +02:00
Jeff Miccolis
6a65261765
test query params are an object
2016-04-05 22:59:14 +02:00
Jeff Miccolis
07f3e2d457
Removing unneeded stopgap
2016-04-05 22:59:14 +02:00
Jeff Miccolis
958199ffef
Allow for different rounding in car-maxspeed fixture
2016-04-05 22:59:14 +02:00
Jeff Miccolis
e5ebf74d76
Add stopgap for https://github.com/Project-OSRM/osrm-backend/pull/2159
2016-04-05 22:59:14 +02:00
Lauren Budorick
126d2f85ac
Mode changes, guidance comments, fix turns
2016-04-05 22:59:14 +02:00
Lauren Budorick
908e3a2af6
Fixes: double callbacks and untested headers
2016-04-05 22:59:14 +02:00
Jeff Miccolis
25e40d723a
Better handling of test response payloads
2016-04-05 22:59:14 +02:00
Lauren Budorick
7a764ce78b
ensure all nodes are written as decimals
2016-04-05 22:59:14 +02:00
Lauren Budorick
8947c789a9
WIP: race conditions and stalling server
2016-04-05 22:59:14 +02:00
Lauren Budorick
8ac403abb9
start fixing URLs
2016-04-05 22:59:14 +02:00
Lauren Budorick
9752cb8e4d
Add more files to be renamed; fix launch error
2016-04-05 22:59:14 +02:00
Moritz Kobitzsch
0cc23dec6f
restructured to only return valid turns to the outside + cleanup
2016-04-05 22:58:32 +02:00
Moritz Kobitzsch
71c0d5253d
less new names, forks consider road classes, api clean-up
2016-04-05 22:58:32 +02:00
Patrick Niklaus
0ca21dbc91
Add failing test for map matching of outlier
2016-04-05 22:58:32 +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
Lauren Budorick
c8bb50497b
Rewrite cucumber test suite in JS
2016-03-24 16:01:01 -07:00
Patrick Niklaus
e125f3a897
Add core factor tests
2016-03-07 21:44:32 +01:00
Patrick Niklaus
92a06c9a28
Renamed prepared -> contracted
2016-03-04 16:12:10 +01:00
Daniel Patterson
017ff53702
Code review updates.
2016-03-03 13:25:01 -08:00
Daniel Patterson
49441fe204
Make forward/reverse weight/offset calculated at query time,
...
rather than being cached in the StaticRTree. This means we
can freely apply traffic data and not have stale values lying
around. It reduces the size of the RTree on disk, at the expense
of some additional data in RAM.
2016-03-03 10:49:12 -08:00
Patrick Niklaus
505833a534
Remove #line checks, it seems to be dependent on the boost version
2016-03-01 19:19:31 +01:00
Daniel J. Hofmann
b787b993b6
Adapt contract cucumber tests to new argparser output
2016-03-01 16:43:34 +01:00
Patrick Niklaus
085bab749f
osrm-prepare -> osrm-contract
2016-03-01 16:43:34 +01:00
karenzshea
6ac3d902c9
update help output test
2016-02-16 18:43:06 +01:00
Moritz Kobitzsch
2679c1cf0a
correct handling of travel modes
2016-02-16 01:35:04 +01:00
Moritz Kobitzsch
f14352f494
modify turn angles and instructions
2016-02-15 20:13:55 +01:00
Dane Springmeyer
6eebb1c089
Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests
...
The need for this is that:
- On OS X if libraries are stored in custom locations (not /usr/lib or /usr/local)
and they do not embed an rpath (which is common to not have) then the developer
needs to set DYLD_LIBRARY_PATH to ensure that osrm tools can find dependent libraries
at runtime (this is normal and common).
- But as of OS X > 10.11 DYLD_LIBRARY_PATH no longer is inherited. While it works in
the main shell when running a command like `osrm-extract` you will find that when
`osrm-extract` is run by cucumber (ruby child process) then DYLD_LIBRARY_PATH
is blocked and the command cannot start.
- So, this introduces the ability to pass in a variable that the cucumber tests will
understand and can manually forward along to ensure that DYLD_LIBRARY_PATH is respected
where it counts.
The intended usage of this is therefore:
# set the environment variable
export OSRM_SHARED_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
# then run cucumber tests
cucumber -p verify
2016-02-11 02:43:51 +01:00
Dane Springmeyer
2e762d05f9
Ensure key command line programs can be run before running cucumber tests
...
- Otherwise, currently, if osrm-extract crashes at startup then
the tests continue on and will crash many many times.
- This also tests that --help returns an exit code of zero and will
catch if this behavior ever changes or is inconsistent between
the command line programs
2016-02-09 17:49:47 -08:00
Moritz Kobitzsch
603b83e1c3
Fixes Alternative Routing when including loops
2016-01-28 16:33:07 +01:00
Patrick Niklaus
bf455c8d20
Fix empty parameter list
2016-01-26 22:56:19 +01:00
Patrick Niklaus
c05d23a586
Fix POST request
2016-01-26 22:56:19 +01:00
Freenerd
2a882aa58d
Tests: Preserve param order on POST
2016-01-26 22:56:19 +01:00
Daniel J. Hofmann
2211731c80
Alternative test depends on random order, make less random-ish
2016-01-26 17:54:08 +01:00
Moritz Kobitzsch
1c1bfd7541
Fix routing when start and target are on the same segment
...
Fixes issue #1864 . Given the simple set-up:
a --> b --> c
^-----------|
This would translate into an edge based graph (ab) -> (bc),
(bc) -> (ca), (ca) -> (ab).
Starting at the end of the one-way street (ab) and going to
the beginning, the query has to find a self-loop within the
graph (ab) -> (bc) -> (ca) -> (ab), as both nodes map to the
same segment (ab).
2016-01-19 23:26:19 +01:00
Patrick Niklaus
42942bb1e0
Add regression test
2016-01-19 17:36:29 +01:00
Moritz Kobitzsch
8a745ecdfd
fixed u-turn testcase to actually emit u-turn instruction
2016-01-15 19:56:39 +01:00
Patrick Niklaus
cc4713d878
Add regression test for uturn before barrier
2016-01-15 00:56:31 +01:00
Patrick Niklaus
490e838c60
Add regression test for Disney Land bug
2016-01-15 00:39:49 +01:00
Patrick Niklaus
1157cb9b95
Remove obsolete protobuf test
2016-01-13 17:57:22 +01:00
Daniel J. Hofmann
9959fd26bb
Do not convert osm xml files to pbf for the cucumber tests
2016-01-13 17:57:22 +01:00
Daniel Patterson
95d1efb7f8
Disable via test that fails on OSX so that we can test everything else on Travis on OSX.
2016-01-06 14:42:31 -08:00
Patrick Niklaus
57f257dce5
Fix status messages and don't include
2015-12-18 18:18:48 +01:00
Patrick Niklaus
78ac3cffde
Add max values for viaroute and trip and reorganize return code handling
...
"status" is now always:
- 200 if the request was successful
- 207 if the result is empty (no path found)
- 400 if the request is invalid
viaroute and trip now have a maximum of 500 and 100 locations
respectively. Override with the --max-viaroute-size and --max-trip-size
parameters.
2015-12-17 04:14:34 +01:00
Patrick Niklaus
7eb2af6cd3
Add snapping regression test for viaroute
2015-12-16 22:51:01 +01:00
Patrick Niklaus
fc8768b79b
Add test for car mode snapping
2015-12-16 22:03:46 +01:00
Patrick Niklaus
f1091f97fc
Fix cucumber help text test
2015-12-15 23:38:12 +01:00
Patrick Niklaus
9bdc58069b
Adapt snapping test to viaroute behaviour
2015-12-11 16:53:10 +01:00
Daniel Patterson
4ddbd2efb6
Expose component size variable as command-line option (this allows testing of big/small components in cucumber tests).
...
Add ability to pass extra parameters to during tests.
Limit distance table search so that it doesn't return any big components if they're beyond max_distance.
2015-12-11 16:53:10 +01:00
Patrick Niklaus
cdb1918973
Refactor StaticRTree to remove application dependent code
...
StaticRTree now acts like a container, just returning the input data
(NodeBasedEdge) and not PhantomNodes.
2015-12-09 23:37:05 +01:00
Patrick Niklaus
4ec3102df2
Refactor cucumber tests
2015-12-09 21:17:18 +01:00
Fabien Girard
f2ee0aad20
Use now 3 parameters for matrix: loc/dst/src
2015-12-09 21:17:18 +01:00
Fabien Girard
478d4a571a
Support rectangular matrix with less sources than targets
2015-12-09 21:17:18 +01:00
Patrick Niklaus
6d2a65b4ea
Add additional uturn test
2015-12-04 20:52:21 +01:00
Daniel Patterson
f87f18a291
Add support for 64bit OSM node id values.
2015-11-30 12:37:58 -08:00
Patrick Niklaus
6dada4e347
Fix impossible route status message
2015-11-25 00:27:20 +01:00
Patrick Niklaus
783d455bd7
Add support for advisory speed limits
...
This adds support for the maxspeed:advisory class of speed tags.
2015-11-19 21:25:12 +01:00
Daniel Patterson
b9a4c322a7
Add ability to debug routing graph visually by dumping
...
annotated GeoJSON during processing.
2015-11-19 10:41:44 -05:00
Daniel Patterson
6228412e61
Enable just-before-contraction updates to edge weights. For small
...
datasets, this enables things like traffic-based updates in the
shortest possible processing turnaround time.
2015-11-18 16:14:08 -05:00
Daniel Patterson
578d947e2d
Comment out failing bearing test - wontfix this problem for now
2015-11-18 14:08:12 -05:00
Daniel Patterson
72629d0081
Fix test cases for level cache command-line option.
2015-11-18 11:48:28 -05:00
Daniel Patterson
d7989f19cf
Fix bug in bearing filter related to reverse edges. Fix tests to catch it. Still one outstanding test failure that looks like a problem in the viaroute results.
2015-11-18 10:57:20 -05:00
Daniel Patterson
1536d1c044
Add bearing filter support to viaroute, trip, nearest, and distance
...
table plugins.
Make bearing range configurable by adding a comma-separated second part
to the bearing paramenter, like so:
b=<bearing:0-359>(,<range:0-180>)
If no range is supplied, it defaults to +/- 10 degrees.
2015-11-17 16:35:20 -05:00
Daniel Patterson
c7e30e2266
Add a summary to each match result showing distance and duration.
...
Helpful for comparing how long the routing engine thinks the matched
trace should take to travel.
2015-11-17 15:28:21 -05:00
Daniel Patterson
e45656e5bf
Refactor edge expansion into extract phase. New temporary file is generated - '.osrm.ebg' which is used by
2015-10-06 09:23:17 -07:00
Freenerd
55cad1b3ac
Refactor alternative route test
2015-09-23 15:54:23 +02:00
Freenerd
e1ac1c4fdc
Test that alternative route exists
...
Complement to a6b44a1470
2015-09-18 17:30:53 +02:00
Andreas Gruß
de29574314
tests + instructions for map matching
2015-09-11 01:34:10 +02:00
Lauren Budorick
5ac024788e
Parse specific restriction:* tags based on profile exceptions
2015-09-10 15:52:26 -07:00
Daniel J. Hofmann
345d5e8d9e
Make an exception for block barriers in bicycle and foot profile.
...
This adds `barrier=block` exceptions to the respective white lists.
In addition this adds tests to check for the exception in bicycle and
foot profiles and makes sure cars are still not able to cross them.
Checked with:
cucumber --tags @barrier -p verify
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1643
- http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock
2015-09-07 12:23:21 +02:00