Moritz Kobitzsch
c77add50e2
cherry-pick https://github.com/Project-OSRM/osrm-backend/pull/3555
2017-01-17 10:27:33 +01:00
Michael Krasnyk
37e36fd165
Fix possible division by zero by clamping latitude to 85.05°
...
Resolves #3530
2017-01-17 10:08:27 +01:00
Michael Krasnyk
341109a8f4
Adjusted number of nodes
in annotation
, resolves #3515
...
Conflicts:
CHANGELOG.md
2017-01-17 10:02:07 +01:00
Daniel Patterson
a0b1a5df8c
Update version and CHANGELOG for 5.5.3.
2017-01-11 17:14:18 -08:00
Daniel Patterson
411313f666
Backport NumLanesToTheRight/NumLanesToTheLeft to support 6ea9f9fdf1
2017-01-11 16:44:25 -08:00
Moritz Kobitzsch
ada0a1e8f8
fix coordinate assertion for walking profile with steps
2017-01-11 21:57:11 +00:00
Moritz Kobitzsch
74611f94fa
Remove assertions that could be triggered by bad data. ( #3469 )
...
When two consecutive nodes have identical coordinates, there is no valid
bearing. For now, make equal nodes have bearing 0.
Full fix still needs to be done via https://github.com/Project-OSRM/osrm-backend/issues/3470 .
2017-01-11 21:55:29 +00:00
Michael Krasnyk
eaff3b4210
Make a hard reset of named barrier mutexes on signal
2017-01-11 21:43:01 +00:00
Jihyun Yu
1fb9f3e1eb
Fix copying vector on std::sort comparator ( #3504 )
2017-01-11 21:41:17 +00:00
Daniel J. Hofmann
6ea9f9fdf1
Consider number of lanes to cross, resolves #3025 .
...
Lane Anticipation currently triggers on quick steps with lanes. This
changeset makes the "quick" part more dynamic by taking lanes left and
right of the turn into account. The reasoning for this is as follows.
The user can drive on the leftmost or rightmost lane and has to cross
all lanes left or right of the turn, respecitvely.
We scale our threshold appropriately, which now means the threshold
describes the duration the user needs for crossing _a single lane_.
Note: this is a heuristic and assumes the worst case. Which in my
opinion is fine to do since triggering Lane Anticipation in complex
scenarios is desirable.
2017-01-11 21:37:17 +00:00
Daniel Patterson
434a3a638a
Make Travis buildit.
2016-12-21 15:31:03 -08:00
Daniel Patterson
6305f4a529
Update changelog and version.
2016-12-21 15:18:30 -08:00
Patrick Niklaus
646b1631ab
Revert "Smarter search radius formula for map matching"
...
This reverts commit b73c59088c
.
2016-12-21 15:14:33 -08:00
Patrick Niklaus
a852ab1c43
Revert "Fix capture"
...
This reverts commit 4f81e31d63
.
2016-12-21 15:14:33 -08:00
Patrick Niklaus
ff25fc70f0
Revert "Hardcode search radius parameters"
...
This reverts commit 2c9e18d5a9
.
2016-12-21 15:14:33 -08:00
Patrick Niklaus
b34ed587d0
Revert "Fix call to std::min"
...
This reverts commit 8bb183bc8c
.
2016-12-21 15:14:33 -08:00
Daniel Patterson
b58329104a
Bump version field and update CHANGELOG.
2016-12-16 13:58:21 -08:00
Patrick Niklaus
d188e8e2a8
Fix changing shared memory in multi-process setup ( #3462 )
...
This change fixes two bugs:
1. A dead-lock that occurs between osrm-datastore and libosrm when an
old dataset is free during a data update. This happened because the
mutexes where acquired in a different order.
2. A region is deleted eventhough it is still in use. This happens when
libosrm gets overtaken by osrm-datastore, so the new dataset is in
the same region the old one was.
2016-12-16 13:54:57 -08:00
Daniel Patterson
f88f51fd98
Log some memory usage statistics after preprocessing tasks.
2016-12-13 21:59:12 +01:00
Daniel J. Hofmann
98659fb0a0
Adds failing tests for directional access overrides, discovered in #3345
2016-12-13 17:37:42 +01:00
Daniel J. Hofmann
8a1afe456f
Works around Unreachable Warning for Debug Build
2016-12-13 12:41:25 +01:00
Patrick Niklaus
f1384f5e44
Merge pull request #3434 from Project-OSRM/fix/invalid-assertions
...
fix invalid assertion in coordinate_extractor
2016-12-12 19:19:47 +01:00
Moritz Kobitzsch
1cd5394a16
fix invalid assertion in coordinate_extractor
2016-12-12 10:12:32 +01:00
Daniel Patterson
8c7f744b1a
Update node weights if traffic data is applied.
2016-12-11 16:02:58 +01:00
Patrick Niklaus
896445a337
Fix path to node binaries
2016-12-09 16:43:32 +00:00
Patrick Niklaus
8c21e1267e
nvm -> install_node
2016-12-09 16:30:14 +00:00
Patrick Niklaus
ad3fd46da5
Try to use mapbox node mirror
2016-12-09 15:28:28 +00:00
Huyen Chau Nguyen
62f0e11bfa
assert that there is an open logger file when trying to log geojson output ( #3417 )
2016-12-09 14:58:20 +01:00
Patrick Niklaus
03d653c0bb
Fix removing shared memory segments in a multi-process setup
2016-12-09 12:18:05 +01:00
Daniel J. Hofmann
cbfb055f81
Changes Single Coordinate Geoms from Point to LineString, closes #3425 .
2016-12-09 11:53:06 +01:00
Moritz Kobitzsch
2288704bb5
don't assign unused name to exception
2016-12-08 13:35:28 +01:00
Daniel J. Hofmann
97dcf4eef9
Fixes Compiler Crashes on Windows
2016-12-08 13:23:21 +01:00
Daniel Patterson
17e15033e1
Log helpful error message if mmap fails.
2016-12-07 22:03:49 +01:00
Daniel J. Hofmann
875f482203
Refactors and improves the Sliproad Handler, resolves #3109
2016-12-07 19:22:03 +01:00
Moritz Kobitzsch
df3c39cef5
clean-up guidance code/code in general
...
removes duplicated includes
removes unused includes
eliminates dedicated toolkits that resulted in circular dependencies
moves functionality close to data, where possible
2016-12-07 12:10:56 +01:00
Moritz Kobitzsch
a28a20a1ba
fix errors in coordinate extractor due to duplicated coordinates
...
fix offset calculation in curve detection
2016-12-07 11:33:58 +01:00
Daniel Patterson
17a18b5c7c
Revert "Add simple code review checklist to PR template."
...
This reverts commit 3f07a830e6
.
2016-12-06 17:21:38 -08:00
Daniel Patterson
423c083038
Refactor logging, improve error handling workflow, clang-format. ( #3385 )
2016-12-06 12:31:13 -08:00
Daniel Patterson
468d8c0031
Refactor logging, improve error handling workflow, clang-format. ( #3385 )
2016-12-06 12:30:46 -08:00
Pepijn Schoen
6f4c6e84ae
Handle file output through a FileWriter, align interfaces for FileWriter and FileReader
2016-12-06 15:59:12 +01:00
Michael Krasnyk
4b1aae40af
Decoding should not fail for incomplete polyline strings ( #3404 )
...
Possible fails in
1) correct lattitude, longitude is missing
2) no end-of-number (0 5th bit) marker in the last character
2016-12-06 14:09:18 +01:00
Daniel J. Hofmann
0e6863aec1
Removes access and service restriction list from bike and foot profile
2016-12-05 14:15:47 +01:00
Daniel J. Hofmann
949d505783
Removes access_restricted flag internally
2016-12-05 14:15:47 +01:00
Emil Tin
d11927046f
car profile: remove use of is_access_restricted flag
2016-12-05 14:15:47 +01:00
Emil Tin
9461c83511
car profile: handle forward/backward access
2016-12-05 14:15:47 +01:00
Emil Tin
532cbfce13
profiles: Directional helper, some car refactoring
2016-12-05 14:15:47 +01:00
Michael Krasnyk
0fbd18b0dd
Make absolute fixtures path
2016-12-04 16:34:42 +01:00
Daniel Patterson
3f07a830e6
Add simple code review checklist to PR template.
...
Add some checkboxes for common, mechanical parts that we should aim to hit for all PRs.
2016-12-02 23:18:57 -08:00
Moritz Kobitzsch
24b01fae00
fix extraction of coordinate along a way ( #3397 )
...
Also fix interpolation when coordinates are duplicated at the end of the vector
2016-12-02 13:11:04 -08:00
Daniel Patterson
0817cd6dfd
Enforce iteration order so that tiles are encoded consistently on all platforms ( #3393 )
2016-12-02 08:59:39 -08:00