Emil Tin
532cbfce13
profiles: Directional helper, some car refactoring
2016-12-05 14:15:47 +01:00
Moritz Kobitzsch
561b7cc58e
Rember Intersection Shapes
...
Changes the processing order in the edge based graph factory.
Instead of iterating over all outgoing edges in order, we compute the edge
expanded graph in the order of intersections.
This allows to remember intersection shapes and re-use them for all possible ingoing edges.
Also: use low accuracry mode for intersections degree 2 intersections
We can use lower accuracy here, since the `bearing`
after the turn is not as relevant for off-route detection.
Getting lost is near impossible here.
2016-12-01 15:24:20 +01:00
Moritz Kobitzsch
5775679f64
fix coordinate extraction / errors in offset detector
2016-12-01 12:16:25 +01:00
Karen Shea
ef087f963d
Merge pull request #3324 from Project-OSRM/constrain-staggering
...
Constrain staggered intersection detection by mode change and intermediary intersections
2016-11-30 07:35:17 -05:00
Moritz Kobitzsch
a1127c3e09
reduce numbers of intersections in findNextIntersection, don't normalise for turn lanes
2016-11-30 10:21:53 +01:00
Daniel J. Hofmann
fe5cc55b0e
support junction = circular in all profiles, add additional tests
...
References:
- https://wiki.openstreetmap.org/wiki/Tag:junction%3Dcircular
- https://lists.openstreetmap.org/pipermail/tagging/2016-November/030520.html
- https://github.com/Project-OSRM/osrm-backend/issues/3361
2016-11-29 13:44:32 +01:00
Moritz Kobitzsch
12d58ace10
add support for junction=circular, allowing named circular junctions to be treated as rotaries
2016-11-29 13:44:32 +01:00
Moritz Kobitzsch
186cc8340a
handle service roads next to roundabouts - ambiguous exit... :(
2016-11-29 11:47:35 +01:00
Michael Krasnyk
e343f71541
Refactor Hilbert values computation
2016-11-28 14:17:12 +01:00
karenzshea
9fe0e91d92
add tests for bridleways
2016-11-22 10:18:55 +01:00
karenzshea
0bd08224bf
add comments, refactor find obvious turn
2016-11-21 13:16:30 -05:00
Patrick Niklaus
b84d70d305
Add regression test for nil values
2016-11-21 12:17:44 +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
karenzshea
6ba36a2bc7
test and control for pushing both ways
2016-11-18 10:13:38 -05:00
karenzshea
039989a339
fix overlapping roads
2016-11-18 09:58:03 -05:00
karenzshea
a7559077a0
add modes columns to bike tests
2016-11-18 09:21:48 -05:00
Daniel J. Hofmann
bbe80192aa
Staggered Intersections for Bike
2016-11-18 08:52:48 -05:00
karenzshea
9b16b757a4
halfway staggered intersection test
2016-11-18 08:52:48 -05:00
karenzshea
3680fc9d90
add check/test for intermediary intersections
2016-11-18 08:52:47 -05:00
karenzshea
836e8bdff0
don't collapse with mode changes
2016-11-18 08:52:47 -05:00
Moritz Kobitzsch
78583d2c8c
fix getTurnDirection, widen straight
range, adjust tests accordingly
2016-11-14 11:09:14 +01:00
Moritz Kobitzsch
e84a0ea37c
reduce coordinate_extraction overhead. slowdown reduced by 30 percent
2016-11-10 10:44:54 +01:00
Moritz Kobitzsch
88208bfa5d
add testscases for mode changes / additional assertions
2016-11-09 12:55:28 +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
Moritz Kobitzsch
9c11f4231c
add locations feature to allow testing turn locations, fix minor bug breaking the arrival location
2016-11-08 13:42:15 +01:00
Daniel J. Hofmann
6ac9617d49
Adapt test to returning ref, Take Pronunciation into Account, Fixes name change heuristic usage in UTurn check
2016-11-08 12:14:23 +01:00
Moritz Kobitzsch
ccdebccde1
adjust sliproad handler for empty-name check, illustrate testcase
2016-11-08 12:14:23 +01:00
Daniel J. Hofmann
c1651ccb12
Uses Name Change Heuristic Instead of Comparing Name Ids
...
References:
- https://github.com/Project-OSRM/osrm-backend/issues/2857
- https://github.com/Project-OSRM/osrm-backend/pull/2900
- https://github.com/Project-OSRM/osrm-backend/issues/2909
2016-11-08 12:14:23 +01:00
Kajari Ghosh
f33180f092
request polyline with precision of 5 or 6 positions ( #3220 )
2016-11-07 15:11:21 -05:00
Moritz Kobitzsch
3eeb3cb6c6
fix collapsing of roundabout instructions
2016-11-07 17:16:44 +01:00
Moritz Kobitzsch
388d84a89e
check for compatibility in post-processing ( #3227 )
2016-11-02 16:59:35 -06:00
Patrick Niklaus
9693f9269b
Add regression test
2016-11-02 17:52:41 +00:00
Daniel J. Hofmann
ccf5552406
Fixes Cucumber's Unknown Node Error Reporting
...
Before: `unknown node %s`
After: `unknown node t`
https://nodejs.org/api/util.html#util_util_format_format_args
2016-11-02 16:46:51 +00:00
Patrick Niklaus
d342a18324
Add regression test
2016-11-02 16:45:20 +00:00
Kajari Ghosh
c30f43b148
added max_speed to the profiles ( #3089 )
2016-11-01 17:13:10 -04:00
Kajari Ghosh
6fc0609a62
Map matching test coverage fix ( #3201 )
...
* fixed map matching test coverage
2016-10-29 11:22:09 -04:00
Moritz Kobitzsch
8ff4bc09ac
fix breaking the sorting order by node adjustments
2016-10-27 19:55:56 +02:00
Moritz Kobitzsch
88c3f4c481
Considering multiple small turns, right after each
...
other can result in a combined turn angle that is
straight instead of turning left and right.
2016-10-27 19:19:23 +02: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
Moritz Kobitzsch
ba5871cfa1
fix turn scenarios
2016-10-25 10:12:25 -07:00
Moritz Kobitzsch
e8b947bca6
fix coordinate extraction with less than 1 meters past lane distance
2016-10-25 10:07:09 -07:00
Michael Krasnyk
86b70f2632
Don't fail on incorrect lane tags '1; 2'
2016-10-24 15:25:46 -07:00
Moritz Kobitzsch
d05b85c227
fix turn restriction and make route unique
2016-10-22 06:48:49 +02:00
Daniel J. Hofmann
19f00589de
Removes constant speed offset from calibration two years ago, resolves #3023 .
...
Our fine-tuned profiles are better in modelling real speed by now. This
constant offset is no longer needed. We still scale maxspeed, though.
https://github.com/Project-OSRM/osrm-backend/issues/3053
2016-10-22 06:48:49 +02:00
Moritz Kobitzsch
40bfe89d97
add test
2016-10-20 14:28:33 -07:00
Moritz Kobitzsch
ecee13bffa
actually calculate distance instead of using .distance
which is a timing value
2016-10-20 12:27:02 +02:00
Moritz Kobitzsch
5e167b8745
Turn Angles in OSRM were computed using a lookahead of 10 meters.
...
This PR adds more advanced coordinate extraction, analysing the road
to detect offsets due to OSM way modelling.
In addition it improves the handling of bearings. Right now OSM reports
bearings simply based on the very first coordinate along a way.
With this PR, we store the bearings for a turn correctly, making the
bearings for turns correct.
2016-10-20 10:47:29 +02:00
Moritz Kobitzsch
1f8ca2879f
fix u-turn collapsing onto empty name / in presence of turning use lane
2016-10-20 09:39:38 +02:00
Daniel J. Hofmann
ab1a9271c8
Canonicalizes Spaces in Semicolon Stringlists, fixes #3086
2016-10-19 14:14:18 -07:00
Kajari Ghosh
3f0f0e306b
Directional Destination Tags ( #3061 )
...
* cucumber test scenarios, #3027
* post review comments
* two tests are still failing
* fixed one test
* passing tests
* cleaner code refactor
* possible sceanrios for destination:ref:forward/backward
* added code for direction:ref:forward/backward, tests pass
* changelog
* store direction in variable
* added tags to taginfo
* fixed dumb error
* use boolean flags
* null pointer checks
* hopefully better null pointer checks
2016-10-18 23:09:19 -04:00
Daniel J. Hofmann
ee4fb89336
Adds missing routable service tags
...
http://taginfo.openstreetmap.org/keys/service#values
2016-10-18 22:11:13 +02:00
karenzshea
f540485cb0
Add a speed for driveway to service speeds
2016-10-17 15:45:31 -07: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
Moritz Kobitzsch
ef1f14550f
max all trips roundtrips again
2016-10-17 15:26:38 -07:00
Moritz Kobitzsch
5839bf334b
fix random feature fail
2016-10-17 15:26:38 -07:00
Moritz Kobitzsch
46c936b48e
handle trips with identical coordinates
2016-10-17 15:26:38 -07:00
Moritz Kobitzsch
17eb664597
don't get disturbed by service roads in obvious discovery
2016-10-13 16:10:59 +02:00
Daniel J. Hofmann
a13cf3f2be
Route over alternating oneways but not reversible ones, closes #2837 .
...
- alternating: high frequency, route over them with penalty
- reversible: low frequency, do not route over them - time dependence
- http://wiki.openstreetmap.org/wiki/Tag:oneway%3Dreversible
- http://wiki.openstreetmap.org/wiki/Tag:oneway%3Dalternating
This distinction was made at the Elbe-Labe Meetup in Dresden, with
accompanying Wiki pages and tagging scheme. Thanks all involed!
- https://github.com/Project-OSRM/osrm-backend/issues/2837
- http://wiki.openstreetmap.org/wiki/Key:oneway
2016-10-12 12:53:07 +02:00
Moritz Kobitzsch
6cf99c886f
don't emit invalid on sliproads with incompatible modes
2016-10-11 10:59:10 +02:00
Emil Tin
7cbb1807e7
cucumber: change syntax of node maps
2016-10-11 09:07:48 +02:00
Patrick Niklaus
d47d03c15b
Add explicit test for malformed coordinate
2016-10-11 00:04:53 +02:00
Patrick Niklaus
240a7696da
Catch boost bad_numeric_cast exception and let parser return an error
2016-10-11 00:04:53 +02:00
Moritz Kobitzsch
378322f6e3
don't provide turn-straight next to suppress-straight
2016-10-07 09:35:16 +02:00
Moritz Kobitzsch
66f2cc5184
fix detection of forks in present of oneways
2016-10-05 17:49:54 +02:00
Michael Krasnyk
da15c014f5
Avoid doubled reprocessing for scenarios without caching
2016-10-04 14:35:21 +02:00
Daniel J. Hofmann
9a85a50586
Implements Cucumber shared vs. static library detection, fixes #2999
2016-10-04 14:14:37 +02:00
karenzshea
5d9fc83db4
adjust test cases that specify coords without leading 0
2016-10-03 13:15:39 -04:00
Moritz Kobitzsch
10b93c6908
re-introduce space into summaries
2016-09-30 14:36:09 +02:00
Moritz Kobitzsch
e4d0d49300
move summaries to car profile, test for references, use boost adaptors
2016-09-30 10:59:23 +02:00
karenzshea
cbb96ce7f4
handle empty names in summaries
2016-09-30 10:43:36 +02:00
karenzshea
54aaf574d9
removing caching from edge weight update test, so it runs fresh each time
2016-09-30 00:12:47 +02:00
Moritz Kobitzsch
a824e64682
Merge branch 'master' into guido/notification
2016-09-29 16:03:44 +02:00
Moritz Kobitzsch
da15e1fc5e
adjust case/add clarification
2016-09-29 10:50:28 +02:00
Ansis Brammanis
7e2663f2ad
calculate roundabout radius from circumference, fix #2716
2016-09-29 10:42:42 +02:00
karenzshea
1a96483f7b
prefer notification over new-name/suppressed types
2016-09-29 10:26:56 +02:00
karenzshea
3d5a53566c
implement flag edge-weight-updates-over-factor, to log edge weight
...
updates over provided x factor
2016-09-28 15:19:59 +02:00
Moritz Kobitzsch
0abd32fca3
prefer first result
2016-09-28 10:32:33 +02:00
Michael Krasnyk
3f3c85ba72
Added profile files per test generation
2016-09-28 09:04:58 +02:00
Daniel J. Hofmann
60010dd998
Reduce NewName Instructructions / Name Changes
...
With @karenzshea's name / ref split (ref. #2857 ) in master we want to
make use of it and reduce `NewName` instructions when ever possible.
This is a first step towards #2744 by using the already existing name
change heuristic from the extractor now in post-processing as well.
Limitations: at the moment we don't have the `SuffixTable` in
post-processing; this would require us serializing and subsequently
deserializing the table, passing it through from the profiles to the
API.
2016-09-21 12:42:39 +02: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
Michael Krasnyk
3eac6effbb
Fix "Error: write after end" and removed @bug tags
...
https://nodejs.org/api/child_process.html#child_process_event_exit
Note that when the 'exit' event is triggered, child process stdio streams might still be open.
2016-09-20 20:40:53 +02:00
Patrick Niklaus
7d124ce54d
Close GH-2795: Rewrite cucumber test caching (and support logic). Fixes #2745
2016-09-19 14:13:44 -07:00
Moritz Kobitzsch
8522cddd61
Prevent loops in extraction based on merge
2016-09-19 13:33:52 +02:00
Moritz Kobitzsch
861314256e
fix roundabout-intersection on immediate exit
2016-09-13 19:16:45 +02:00
Moritz Kobitzsch
092e77e89b
fix false positives in sliproads
2016-09-13 14:11:29 +02:00
Michael Krasnyk
1d94eb88f6
Test for PR #2898
...
Test checks that osrm-extract terminates for
http://www.openstreetmap.org/way/198481519
2016-09-12 22:20:11 +02:00
Daniel J. Hofmann
e6fe9d0d67
Fixes issue where two ways with same name but different pronunciation where deduplicated, resolves #2860
2016-09-09 18:28:44 +02:00
Moritz Kobitzsch
c306a59854
make sure to not-collapse different travel modes
2016-09-08 15:01:25 +02:00
karenzshea
dcc1b5ab2b
return name and reference separately
2016-09-08 14:28:23 +02:00
Moritz Kobitzsch
938dff011f
handle all our new strings correctly, introduce rotary_pronunciation
2016-09-07 16:09:13 +02:00
Moritz Kobitzsch
9123c93a90
fix interaction between sliproads/segregated intersections
2016-09-07 12:36:29 +02:00
Moritz Kobitzsch
a551286a8f
adjust testscases for collapse of use lane
2016-09-07 12:17:36 +02:00
Daniel J. Hofmann
86fd04e556
Improves lane handling for subsequent going straight, resolves #2625
...
Before we only worked on subsequent quick turns, as in:
`right, right` keeps the user on the rightmost lanes.
This changeset modifies the logic to work on any subsequent steps
that are "quick" and have lane information we can constrain later.
Because we do not have a from-lane => to-lanes mapping we take the
lanes left and right of the turn lanes into account when heuristically
assigning the leftmost / rightmost lanes.
There are some edge cases where this still does not give us the optimal
solution but it gets close to what is actually possible at the moment
without having a lane mapping in post-processing.
References:
- https://github.com/Project-OSRM/osrm-backend/issues/2625
fix rebase
2016-09-07 12:17:36 +02:00
Moritz Kobitzsch
b6dbf81206
don't assign lanes on delayed turns
2016-09-07 12:17:34 +02:00
Daniel J. Hofmann
af47252efe
Do not collapse away lane information as long as it is necessary
2016-09-07 12:17:00 +02:00
Moritz Kobitzsch
3b81b39998
turn lane handler moved to scenario based handling
2016-09-07 12:16:59 +02:00
Moritz Kobitzsch
802b93fa9a
fix testcases, one case only works by turn restriction, needs investigation
2016-09-07 12:04:17 +02:00
Moritz Kobitzsch
a0ed70f0a2
don't detect sliproads at wrong locations, don't emit invalid instructions
2016-09-06 09:01:06 +02:00
Moritz Kobitzsch
d3a6b5a77e
detect broken roundabout-taggings
2016-09-05 16:49:57 +02:00
Moritz Kobitzsch
f7265892ed
correctly detect loss of prefix/suffix
2016-09-05 15:03:21 +02:00
Moritz Kobitzsch
be266c7c2b
fix copy-paste typo in guidance lib
2016-09-05 15:00:42 +02:00
Moritz Kobitzsch
5d79e0ac2f
catch infinite loops
2016-09-05 14:52:13 +02:00
Moritz Kobitzsch
7528b27f99
mark broken case todo
2016-09-05 11:50:36 +02:00
Daniel Patterson
a4f9499305
Invalid string values in lanes:psv:backward should result in 0 lanes,
...
not `nil`.
2016-09-04 14:23:43 -07:00
Daniel J. Hofmann
bb244e28bb
Adds a failing test case for 255 unicode code points
...
The OSM spec says "up to 255 full unicode chars", so we should be able
to handle 255 x 🐼 --- but we don't.
The internal limit is on 255 _bytes_ in the `std::string`, but there can
be up to four bytes in a utf8 encoded code point.
References:
- http://wiki.openstreetmap.org/wiki/API_v0.6#Tags
- http://www.fileformat.info/info/unicode/char/1f43c/browsertest.htm
- https://en.wikipedia.org/wiki/UTF-8#Description
2016-09-02 16:10:32 +02:00
Moritz Kobitzsch
6fac14dbd8
ignore invalid only_* restrictions
2016-09-01 09:14:01 +02:00
karenzshea
146eb3a20e
add test case for ignoring unknown restrictions
2016-08-31 09:52:05 -04:00
Patrick Niklaus
315823cce1
Use service tag to penaltize alleys and forbid emergency access
2016-08-29 14:15:22 +02:00
Moritz Kobitzsch
d06eec5e42
improve segregated road detection
2016-08-24 10:34:07 +02:00
Moritz Kobitzsch
9648821a79
handle missing cases, cleaning up
2016-08-24 10:34:07 +02:00
Moritz Kobitzsch
6a2518c0df
handle stronger merge cases as well
2016-08-24 10:34:07 +02:00
Moritz Kobitzsch
7886d06839
adjust angles pre-merge as well
2016-08-24 10:34:07 +02:00
Moritz Kobitzsch
b6c3d1d5bf
Cucumber Scenario for #2725
2016-08-24 10:34:07 +02:00
Moritz Kobitzsch
9b2f6585fb
handle non-through case
2016-08-24 10:12:27 +02:00
Moritz Kobitzsch
46fd17a9ff
moved obviousness discovery. updated sliproad handler. back to original cases failing
2016-08-24 10:12:27 +02:00
Daniel J. Hofmann
da73bae9c6
Scenario for unnecessary slight left onto Stralauer Str
2016-08-24 10:12:27 +02:00
Moritz Kobitzsch
766e2713ab
fix segmentation fault for via-routes with invalid intermediate segments
2016-08-23 14:17:32 +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
Moritz Kobitzsch
38fef77d70
additional collapse cases
2016-08-19 12:43:51 +02:00
Moritz Kobitzsch
e8bae78749
fix errors introduced in refactor
2016-08-18 11:36:36 +02:00
Moritz Kobitzsch
9485c97738
adjusting u-turn handling in lane matching to fully fix 2706
2016-08-18 11:36:36 +02:00
Daniel J. Hofmann
d53c267129
Be more aggresive classifying Roundabout Intersections.
...
Roundabout Intersections are roundabouts with up to four ways and turn
angles which makes the turns obvious, e.g. as in:
```
*
*
* * * *
*
*
```
but not
```
*
*
* * *
* *
* *
```
For Roundabout Intersections we issue instructions such as
"turn <direction>" instead of "take the <nth> exit".
At the moment we have a limit on the radius for these Roundabout
Intersections of 5 meters. Which fails to classify a wide range of
Roundabout Intersections in the US (with the US-wide streets).
This changeset removes the Roundabout Intersection radius limit:
- if the roundabout is larger than a threshold and is named we classify
it as a rotary
- if the roundabout matches our criteria for Roundabout Intersections
we classify it as a Roundabout Intersection
- else fallback to plain old Roundabout
There is a second issue with determining a roundabout's radius.
But that's for another pull request (tracking in #2716 ).
References:
- https://github.com/Project-OSRM/osrm-backend/issues/2716
2016-08-18 10:50:32 +02:00
Patrick Niklaus
2f6de614c1
Ignore any following columns in a CSV file
2016-08-18 10:19:36 +02:00
Moritz Kobitzsch
087080a6c3
mark via-case todo to prevent known failure to show up in local cucumber
2016-08-15 15:52:47 +02:00
Moritz Kobitzsch
464de785cb
fix removal of multiple geometries for first vertex
2016-08-09 12:02:07 +02:00
Daniel Patterson
65def1a9e2
We should be returning an error if any errors that occur during reprocessing.
2016-08-05 15:11:12 -07:00
Daniel Patterson
176c2244ad
Catch and report errors during osrm-contract tests.
2016-08-05 14:19:22 -07:00
Daniel J. Hofmann
5bef5dcb04
Disable our added failing cucumber tests for now
2016-08-05 18:32:42 +02:00
Daniel Patterson
4d84bc0f01
Add a minimal version of the failing test case.
2016-08-05 18:32:42 +02:00
Daniel J. Hofmann
c737635a3b
Reproducing breaking intersection in cucumber scenario
...
Conflicts:
src/extractor/guidance/turn_lane_augmentation.cpp
2016-08-05 18:32:42 +02:00
Daniel J. Hofmann
b7eeafb183
Try to come up with a small test case
2016-08-05 18:32:42 +02:00
Patrick Niklaus
677306eeee
Merge pull request #2707 from oxidase/left_side_driving
...
Left side driving
2016-08-05 18:09:10 +02:00
Daniel J. Hofmann
b1e309b4eb
Collapse Staggered Intersections.
...
Staggered intersection are very short zig-zags of only a few meters.
They are common in rural and exurban areas, especially in the US.
(In addition, these cases could as well be tagging issues)
We do not want to announce these short left-rights or right-lefts:
* -> b a -> *
| or | becomes a -> b
a -> * * -> b
Here is one example:
- https://www.openstreetmap.org/edit#map=20/39.26017/-84.25182
And here are two edge-cases that we don't handle at the moment:
- http://www.openstreetmap.org/edit#map=20/38.87900/-76.98519
- http://www.openstreetmap.org/edit#map=19/45.51056/-122.63462
and probably should not handle since the distance in between is
quite long (roughly 7-15 meters). For these we want to announce
two turns to not confuse the user.
Thanks to @1ec5 for raising this issue and @karenzshea for
providing additional US examples and cultural insights.
2016-08-05 14:35:13 +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
026f71934b
Adds Cucumber Scenario for sharp left turn at traffic light
2016-08-03 12:18:31 +02:00
Michael Krasnyk
979f9cab20
Added test for issue #2706
2016-08-02 19:06:10 +02:00
Daniel J. Hofmann
c4718495a0
Add Florida Ave NW scenario for TurnLeft instead of MergeRight
2016-07-30 23:55:39 +02:00
Moritz Kobitzsch
0d36d472c9
change paradigm of merge to only emit on motorway-like roads
2016-07-30 23:55:39 +02:00
Daniel Patterson
d012b44b7f
Filter out edges that have any speed=0 segments.
...
They become non-snappable and non-routable. Note that a single segment
of speed=0 will eliminate the entire edge.
2016-07-30 23:53:38 +02:00
Michael Krasnyk
61e6afdef0
added a lanes test in clockwise roundabouts
2016-07-28 22:59:22 +02:00
Lauren Budorick
951a4dc112
commit test file
2016-07-28 22:59:22 +02:00
Daniel Patterson
280b000f07
Include datasources for each segment in route annotation.
2016-07-27 15:51:11 -07:00
Patrick Niklaus
e83905b783
Fix exception handling around unrecognised options
2016-07-26 11:43:08 +02:00
Moritz Kobitzsch
7d076e9344
handle access flags for lanes
2016-07-25 20:01:58 +02:00
Daniel J. Hofmann
748fd3efa9
Remove lanes from roundabouts, closes #2626
...
After half a day of looking at the tagging and the data came to the
following conclusion:
We can't keep the user to the innermost / outermost lanes depending on
the exit the route takes: we found situations where both heuristics were
wrong.
Even on popular roundabouts the tagging is often wrong or in the best
case not present at all.
There are at least two different ways to interpret roundabout
indications: 1/ where e.g. a right arrow on the lane indicates turn
restrictions for the roundabout and the need to take this lane to exit
the roundabout to the right (possibly skipping multiple exits) and 2/
where a right arrow just means this is a lane in a immediate right turn.
Example: Australia marks lanes with arrows that seem to indicate
"angles you can exit the roundabout from", for example, these two ways:
- http://www.openstreetmap.org/way/320941710
- http://www.openstreetmap.org/way/42918021
Whereas Germany marks lanes with "directions you can travel in these
lanes immediately after entering the roundabout":
- http://www.openstreetmap.org/way/52578338
These two different interpretations of how to draw the arrows on the
roads mean we have conflicting solutions to "which lanes can you use to
take exit B from entry A" based on locality.
Continuing to tag ways based on lane markings is no problem, but
unfortunately, we can't reliably resolve good advice for navigation
system users (like "use the inside lane to take the second exit at the
roundabout"), there are too many situations that would generate bad
instructions (instructions that tell users to go into a lane they
shouldn't use).
2016-07-25 19:29:55 +02:00
Moritz Kobitzsch
1fc63e1e72
move hardcoded road priorities into profiles, change road classification
2016-07-25 13:07:54 +02:00
Daniel J. Hofmann
fd6bb5ec1f
Lane Handling for multiple indications per lane as in left;left|, fixes #2694
...
Before we asserted on unique lane indications per lane. Turns out the
OSM data contains lane strings such as:
left;left|right
Which represents two lanes as in:
<< >
|| |
The two left indications _on a single lane_ look like data issue.
And we can't represent this with our enum-approach at the moment.
We don't want to crash there, so silently swallow this and
generate a single left|right for it.
2016-07-25 12:17:23 +02:00
Moritz Kobitzsch
9e323d2d42
improve sliproad / fork handling
2016-07-22 15:16:59 +02:00
Moritz Kobitzsch
41ba20ca9a
switch api format to new structure
2016-07-21 17:42:10 +02:00
Moritz Kobitzsch
b25011ee60
fix use-lane handling
2016-07-21 16:37:54 +02:00
Moritz Kobitzsch
0e017a6ce5
collapse use-lane instructions if possible
2016-07-20 10:23:26 +02:00
Moritz Kobitzsch
2431e15ffa
mark second case as todo, see https://github.com/Project-OSRM/osrm-backend/issues/2661
2016-07-20 09:55:30 +02:00
Moritz Kobitzsch
396add1e9d
make roundabout maneuvers continuous with respect to lane changes
2016-07-20 09:55:30 +02:00
Moritz Kobitzsch
8831ca2f32
fix roundabouts with traffic lights
2016-07-19 14:49:09 +02:00
Moritz Kobitzsch
50cbba1620
adding a todo testscase / regression test-case
2016-07-15 10:35:25 +02:00
Patrick Niklaus
3d80f989d0
Fix tests after cucumber update and changed escaping.
2016-07-13 11:48:53 +02:00
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
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
Lauren Budorick
bac6703f8e
Implement raster source feature to read data from third-party sources, to be used in lua profiles.
...
* Adds a data structure, RasterSource, to store parsed + queryable data
* Adds bindings for that and relevant data structures as well as source_function and segment_function
* Adds relevant unit tests and cucumber tests
* Bring-your-own-data feature
2015-09-03 22:28:18 -07: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
Patrick Niklaus
8b8a19c75d
Fix failing matching tests due to gps precision
2015-09-03 17:02:34 +02:00
Daniel Patterson
120303e6e3
Fixed test case that uses the car profile.
2015-09-03 17:01:11 +02:00
Huyen Chau Nguyen
a71159667d
add cucumber test for the trip plugin
2015-09-01 15:20:35 +02:00
Daniel J. Hofmann
db30836b53
Add rising bollard exception to barriers for car profile.
...
This handles `barrier=bollard` with `bollard=rising`, by making an
exception to the barrier whitelist. Barriers tagged as such do no longer
require an explicit access tag.
This also adds corresponding tests, check this out:
cucumber --tags @barrier
References:
- http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard
- http://wiki.openstreetmap.org/wiki/Key:bollard
- https://github.com/Project-OSRM/osrm-backend/issues/1616
2015-08-25 14:52:45 +02:00
Lauren Budorick
0a53dccd4c
Use .round instead of .to_i for cucumber speeds
2015-08-25 00:06:57 +02:00
Patrick Niklaus
2ff2ce460c
Add .core to cucumber renaming
2015-08-19 12:27:44 +02:00
Patrick Niklaus
bd37c48596
Add test for mode change
2015-08-12 13:02:18 +02:00
MoKob
b526cadebd
Initial version of core ch
...
This improves preprocessing times in favour of worse query performance.
Core size can be set over the --core parameater, default is the old
behaviour to fully contract the graph.
2015-08-01 18:00:48 +02:00
Patrick Niklaus
8a2652f53d
Only penaltize bidirectional ways if they have 1 lane
2015-06-27 16:26:18 +02:00
Patrick Niklaus
1445f11c19
Add test for lane penalty
2015-06-18 17:35:39 +02:00
Patrick Niklaus
ebff45f803
Add new regression test for looping bugs
2015-06-18 00:18:54 +02:00
Patrick Niklaus
373fa7a7d9
Merge pull request #1502 from agruss/develop
...
Accepting HTTP Post Request
2015-06-17 23:24:41 +02:00
Lauren Budorick
eec4f173a7
Fix tag misspellings in profiles + tests: forestry, pebblestone
2015-06-09 20:16:58 -07:00
Andreas Gruß
d726ce6340
removed send_simple_request
2015-06-07 12:20:03 +02:00
Andreas Gruß
b406844c96
rearranged send_request parameters
2015-06-07 11:06:37 +02:00
Andreas Gruß
153d38f10c
post/get handler added, background section for HTTP request
2015-06-05 13:26:27 +02:00
Andreas Gruß
dce917eb74
post tests via query options available
2015-06-04 17:39:54 +02:00
Andreas Gruß
eb711787ae
tests added
2015-06-03 15:31:20 +02:00
Patrick Niklaus
71dc10ebea
Add failing test case
2015-06-02 16:59:30 +02:00
Patrick Niklaus
c493a22765
Add test case for leisure=track
2015-06-01 11:20:17 +02:00
Patrick Niklaus
4146695f34
Add test to check new way naming convention
2015-06-01 11:19:27 +02:00
Patrick Niklaus
2a9b1311d3
Add test for ignoring crossing nodes
2015-05-30 19:30:33 +02:00
Daniel Patterson
039d6acd3e
Fix test case, it was missing 'via' instructions
2015-05-29 16:52:08 +02:00
Daniel Patterson
405fcdc483
We really need to run these tests.
2015-05-29 16:52:08 +02:00
Daniel Patterson
e763953562
Address #1424 by using the original fix
2015-05-29 16:52:08 +02:00
Patrick Niklaus
6ce2726a87
Fix return codes for osrm-prepare
2015-05-28 15:18:48 +02:00
Patrick Niklaus
407036e215
Merge pull request #1476 from Project-OSRM/fix/distance-based-radius
...
Use distance based search radius
2015-05-15 10:49:19 +02:00
Patrick Niklaus
7b1a5566fb
Move nodes inside the search radius
2015-05-15 00:34:53 +02:00
Patrick Niklaus
266feea397
Merge pull request #1465 from alex85k/develop
...
fix cucumber tests running on Windows
2015-05-14 22:25:52 +02:00
Emil Tin
079eea3f2b
add test for route duration formats
2015-05-10 20:09:09 +02:00
alex85k
a457d69034
fix cucumber tests running on Windows
2015-05-09 19:22:16 +05:00
Emil Tin
71197e1c89
remove last use of routing_diff
2015-04-30 18:29:56 +02:00
Emil Tin
e1a13f5ce8
remove obsolete cucumber patch
2015-04-30 18:15:46 +02:00
Emil Tin
1ed2c16a51
upgrade to cucumber 2.0
2015-04-30 18:15:46 +02:00
Dennis Luxen
4b957abc0c
fix rounding error/uncertainty on some systems
2015-03-27 12:27:15 +01:00
Patrick Niklaus
78735fae6b
Fix match test by using the new threshold
2015-03-18 00:21:04 +01:00
Patrick Niklaus
bc8666df83
Add tests for matching
2015-03-08 01:32:13 +01:00
Patrick Niklaus
7829e3c132
Add step definition and support code for matching
2015-03-05 00:12:26 +01:00
Dennis Luxen
402ca780bf
fix test expectation osrm-routed help output
2015-03-03 12:56:37 +01:00
Dennis Luxen
7e00a86bb4
implement ISO 8601 durations parsing, cf. #1399
2015-03-02 17:18:52 +01:00
Dennis Luxen
878c49e4e1
fix incomplete implementation of movable bridges in bike profiles, plenty of regressions
2015-02-26 17:17:43 +01:00
Dennis Luxen
6b88856c16
add support for movable bridges in the biking profile, cf #1399
2015-02-26 16:28:04 +01:00
Dennis Luxen
645e3ccbb3
add movable bridge support to the car profile. Implements #1399
2015-02-26 14:56:01 +01:00
Dennis Luxen
b89c7580e6
implement scaling for narrow roads as an alternative expected speed and take the minimum. Follows @emiltin's idea.
2015-02-20 10:33:14 +01:00
Dennis Luxen
4c4c126361
implements a penalty for very narrow road:
...
- implements discussion of #1388
- implements basic test cases
2015-02-20 10:33:14 +01:00
Emil Tin
eebf3a54e2
cuke: abort if bins are missing, closes #1341
2015-01-12 13:56:43 +01:00
Dennis Luxen
7e70fa63d7
Merge pull request #1338 from frodrigo/develop
...
Black list access=psv for car profile
2015-01-09 23:39:49 +01:00
Dennis Luxen
bea4b520c0
Revert "Revert "fix #1255 assume lift gates are passable""
...
This reverts commit cec3d1488a
.
*sigh*
2015-01-09 19:15:00 +01:00
Frederic Rodrigo
26f7ac9ca1
Black list access=psv for car profile
2015-01-09 17:14:16 +00:00
Dennis Luxen
b1a12768e1
fix parameter name for maximum number of location in distance table plugin
2015-01-08 17:41:19 +01:00
Frédéric Rodrigo
7075a8a8ef
Fix tests for new option --max_locations_distance_table
2015-01-06 14:11:09 +00:00
Dennis Luxen
725b93a961
Merge branch 'develop'
2015-01-06 11:03:29 +01:00
Emil Tin
0ca586e1c8
cuke: remove unneeded @x tag
2015-01-03 16:53:01 +01:00
Emil Tin
a0b55f9df3
table tests: use empty string to mean no route
2015-01-03 11:12:47 +01:00
Emil Tin
67f68b47db
add fuzzy match to table tests, add more tests
2015-01-01 20:19:41 +01:00
Emil Tin
593808f24d
initial support for testing distance matrices
2015-01-01 15:12:45 +01:00
Dennis Luxen
47a2271e27
copy edits:
2014-12-23 11:30:45 +01:00
Dennis Luxen
40ff7ad999
update speed profile from external calibration data
2014-12-17 11:02:04 +01:00
Patrick Niklaus
fc1db35f27
Add missing json dependency to cucumber
2014-11-23 13:29:22 +01:00
Dennis Luxen
9d14f81b79
set default timestamp for tests
2014-11-17 14:58:39 +01:00
Dennis Luxen
bdc611b23a
port timestamp test to libosmium
2014-11-17 14:58:34 +01:00
Dennis Luxen
462d4c99cc
port testbot profile
2014-11-17 14:58:34 +01:00
Dennis Luxen
cec3d1488a
Revert "fix #1255 assume lift gates are passable"
2014-11-13 14:23:54 +01:00
AlanBell
9a8f9cae6d
test case for lift gate access
2014-11-11 09:16:57 +00:00
Emil Tin
93767d68f8
remove debug output
2014-10-17 15:07:56 +02:00
Emil Tin
cc3646ca16
fix tests that use {base} expansion
2014-10-17 15:07:56 +02:00
Emil Tin
48333f73d5
rename rather than copy then when possible
2014-10-17 15:07:56 +02:00
Emil Tin
1f4241a63d
smarter caching of test files
2014-10-17 15:07:56 +02:00
Dennis Luxen
f2ceeb35da
fixes issue #1167 , odd routing instructions
...
- the turn angle for compressed edges was not computed from the uncompressed geometry
- for a given turn (a,b,c) the last compressed node for edge (a,b) and the first packed node for (b,c) is returned
- adds a cucumber test to guard against regression
2014-10-16 15:58:58 +02:00
Dennis Luxen
dfc81f65ee
Merge pull request #889 from Project-OSRM/experimental/cuke_datastore
...
use osrm-datastore for testing, keep osrm-routed runnning
2014-10-15 15:41:38 +02:00
Dennis Luxen
f7469f298d
add a tail to the oneway circle to avoid edge cases
2014-10-15 11:33:43 +02:00
Emil Tin
8438024370
avoid unnessecary process check
2014-10-14 16:05:06 +02:00
Emil Tin
71b967d243
test both datastore and direct data load
2014-10-14 15:35:14 +02:00
Dennis Luxen
c7ee402b0e
make link tests less brittle, no overlapping paths
2014-10-13 14:56:17 +02:00
Emil Tin
76fb0cb965
get process handling up to date
2014-10-13 11:19:49 +02:00
Emil Tin
14eac50261
remove datastore test
2014-10-13 11:10:40 +02:00
Emil Tin
cf3eae1c91
disable failing test
2014-10-13 10:58:03 +02:00
Emil Tin
db06cdb4ce
adjust datastore testing
2014-10-13 10:58:03 +02:00
Emil Tin
7ba8e51fa9
use osrm-database during testing
2014-10-13 10:58:03 +02:00
Dennis Luxen
5bb7e62a7c
fix test on 'some' Intel FPU
2014-10-10 10:36:24 +02:00
Dennis Luxen
4e00ebcd74
Merge pull request #1211 from Project-OSRM/fix_1173
...
Fix and close #1173
2014-10-08 11:44:48 +02:00
Dennis Luxen
415f8ef2d8
add test-case for bug
2014-10-08 11:01:33 +02:00
Emil Tin
5072252c72
test link speeds
2014-10-07 17:05:39 +02:00
Emil Tin
0df81c49d5
surface, tracktype, smoothness tags in car profile
2014-10-07 10:43:47 +02:00
Dennis Luxen
5653516b32
traverse *_link roads at a significantly lower speed than the main link, fixes #1174
2014-10-06 13:42:30 +02:00
Frédéric Rodrigo
ec119a6d52
Add test for maxspeed like 'countrycode:zone type' for car profile
2014-10-04 21:17:18 +02:00
Dennis Luxen
af02fc6bbe
add tests for ferry durations
2014-09-29 11:44:51 +02:00
Dennis Luxen
cc0bbc42a2
add duration to backward speed, fixes #1192
2014-09-29 11:37:36 +02:00
Dennis Luxen
d7fbd416ba
fix expected values of backward speed in test
2014-08-21 12:18:19 +02:00
Emil Tin
6e2608b2f2
fix cuke support file
2014-08-20 11:08:59 +02:00
Emil Tin
c37c8dc21d
add mode test
2014-08-20 11:08:59 +02:00
Emil Tin
6ee7a81f10
update foot profile, add ferry mode
2014-08-20 11:08:58 +02:00
Emil Tin
3d94638d86
update car profile, add ferry mode
2014-08-20 11:08:58 +02:00
Emil Tin
eb122a2b8c
tidy feature file
2014-08-20 11:08:58 +02:00
Emil Tin
feaf8711d3
announce mode changes
2014-08-20 11:08:58 +02:00
Emil Tin
0244060806
add a few tests
2014-08-20 11:08:42 +02:00
Emil Tin
bfdc296f43
reduce failing test
2014-08-20 11:08:42 +02:00
Emil Tin
8e625a5d07
rename test
2014-08-20 11:08:42 +02:00
Emil Tin
3460bd0ba9
fix problems with mode, 1 failing test left
2014-08-20 11:08:42 +02:00
Emil Tin
6e1ab9fe3a
profile fixes
2014-08-20 11:08:42 +02:00
Emil Tin
235a52032a
more tests passing
2014-08-20 11:08:42 +02:00
Emil Tin
a5ee7e78f6
fixes
2014-08-20 11:08:41 +02:00
Emil Tin
181dbe8493
improve tests for travel mode
2014-08-20 11:08:41 +02:00
Emil Tin
6d6d299ea4
most tests passing
2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd
first cut at porting travel mode, some tests fail
2014-08-20 11:08:41 +02:00