Michael Krasnyk
508c205d35
Refactoring of iso_8601_grammar
...
* formats 'hh:mm:ss' and ISO 8601 are merged into one grammar.
* iso_8601_grammar is changed to static const.
* iso_8601_grammar supports formats P[n]DT[n]H[n]M[n]S, P[n]W,
and part of alternative PTHHMMSS and extended PTHH:MM:SS formats.
2016-05-17 00:39:32 +02:00
Daniel J. Hofmann
d5294bb5d0
Silences warnings when running npm test
2016-05-16 14:43:54 -04:00
Patrick Niklaus
6ed9be31ca
Merge pull request #2408 from oxidase/master
...
Remove latitude rounding in yToLat
2016-05-16 17:04:49 +02:00
Michael Krasnyk
3bbd3a8a65
Remove latitude rounding in yToLat
2016-05-16 00:53:33 +02:00
Daniel Patterson
73a608895a
Merge pull request #2402 from Project-OSRM/fix_docker
...
Remove Ruby from docker setup, use Node.
2016-05-13 13:38:10 -07:00
Daniel Patterson
96c73baeb3
Remove Ruby from docker setup, use Node.
2016-05-13 12:32:36 -07:00
Patrick Niklaus
73113f5eb8
Fix codecov.yml
2016-05-12 17:56:40 +02:00
Patrick Niklaus
7b74b86891
Add codecov file
2016-05-12 01:17:16 +02:00
Daniel Patterson
0903b8227f
Example of the annotation
response value.
2016-05-12 01:11:09 +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
Daniel J. Hofmann
0f2bb5dde5
Disable builing components tool by default until GDAL 2 compatibility #1738 lands
2016-05-12 00:25:18 +02:00
Patrick Niklaus
84dc1b6845
[skip ci] Use codecov badge
2016-05-11 22:45:07 +02:00
Patrick Niklaus
4ce1a37772
Limit osrm-extact to 3 jobs because OOM
2016-05-11 22:43:26 +02:00
Patrick Niklaus
8dd4cc5c40
Integrate codecov
2016-05-11 22:43:18 +02:00
Patrick Niklaus
6aed145dae
[skip ci] Rephrased the API docs in terms of adding new types
2016-05-09 18:39:30 +02:00
Patrick Niklaus
d15cc77b0b
Merge pull request #2386 from oxidase/rtree-optimize-addition
...
Missing two commits in StaticRTree changes
2016-05-08 14:20:59 +02:00
Michael Krasnyk
24a75d37fb
Approximate inverse Gudermannian function by a Padé approximant
2016-05-08 06:00:21 +02:00
Michael Krasnyk
7e80dae59b
Fix MSVS build.
2016-05-08 06:00:21 +02:00
Patrick Niklaus
7316c48e9f
Changelog entry for StaticRTree changes
2016-05-07 23:52:11 +02:00
Patrick Niklaus
c520c7a24a
Fix rtree benchmark
2016-05-07 23:52:11 +02:00
Patrick Niklaus
7564633045
Update SearchInBox to not copy TreeNode
2016-05-07 23:52:11 +02:00
Patrick Niklaus
7174c5d036
Make StaticRTree and facades const
2016-05-07 23:52:11 +02:00
Patrick Niklaus
ddd128ce0e
Only use const-ref for coordinate vector
2016-05-07 23:52:11 +02:00
Patrick Niklaus
f5aa5c0769
Don't wrap StaticRTree in thread-specfic ptr
2016-05-07 23:52:11 +02:00
Michael Krasnyk
2acde49f0f
Make LeafNode aligned to memory pages.
...
Changes:
* LeafNode is aligned to LEAF_PAGE_SIZE.
Alignment brings 24 bytes memory overhead for 4096, but reduces
cache misses rate.
* Unused m_element_count from leaf nodes file.
The size is computed as m_leaves_region.size() / LEAF_PAGE_SIZE.
* Added try/catch for mmap exceptions messages.
2016-05-07 23:52:11 +02:00
Michael Krasnyk
8849015bbf
Fix construct_multiple_levels_test
...
candidate_cache is removed because of failing test
make util-tests && ./unit_tests/util-tests --run_test=*/construct_multiple_levels_test
first bad commit: [9692be6f50
] Add cache for CandidateSegments to reduce heap worke even more
Now SegmentIndex contains leaf index, object index and fixed_projected_coordinate
2016-05-07 23:52:11 +02:00
Michael Krasnyk
70cd7a94ec
Fix memory mapping "Invalid argument" exception.
2016-05-07 23:52:11 +02:00
Patrick Niklaus
3984dea34b
Use mmap in StaticRTree
2016-05-07 23:52:11 +02:00
Patrick Niklaus
b11b471aa4
Move LoadLeafFromDisk to return by value
2016-05-07 23:52:11 +02:00
Patrick Niklaus
63754df4d4
Add cache for CandidateSegments to reduce heap worke even more
2016-05-07 23:52:11 +02:00
Patrick Niklaus
e644424508
Only save TreeNode index in search tree x3 speedup
2016-05-07 23:52:11 +02:00
Patrick Niklaus
4f6eef3d16
Merge pull request #2376 from oxidase/fix/addition-to-2356
...
Addition to fix #2356
2016-05-07 12:47:28 +02:00
Michael Krasnyk
e2e8104864
Addition to fix #2356
...
Updated unit tests for the Hint parser and
added emplacement of empty hints.
2016-05-07 09:47:32 +02:00
Patrick Niklaus
96127c289c
Set OSX timeout to a minute
2016-05-06 10:36:40 +02:00
Patrick Niklaus
cfed65f7ea
Double timeout again
2016-05-05 21:07:38 +02:00
Patrick Niklaus
c2263fec9b
One TIMEOUT to rule them all
2016-05-05 18:36:30 +02:00
Patrick Niklaus
497720d060
Bump timeout and lower jobs on OSX
2016-05-05 17:12:22 +02:00
Patrick Niklaus
238366e71f
Merge pull request #2373 from oxidase/master
...
Fix #2362 by using generic path strings
2016-05-05 15:57:51 +02:00
Michael Krasnyk
2c8cf26e74
Fix build break in MSVC
...
fatal error C1189: #error: "This header can't be used in operating systems without XSI (System V) shared memory support"
2016-05-05 13:24:27 +02:00
Michael Krasnyk
c87ae5612a
Fix #2362 by using generic path strings
...
In windows native strings in Lua incorrectly
interpreted because native separators must be escaped.
Use of generic strings prevent use of backslashes and
"Generic paths are portable and independent of the operating system.".
2016-05-05 12:10:45 +02:00
Patrick Niklaus
a2d83753bc
Install ccmake on OSX
2016-05-05 11:39:15 +02:00
Patrick Niklaus
eedf75d951
Correct path to test data
2016-05-04 20:44:05 +02:00
Patrick Niklaus
3f51a1ae2e
Run tests from build directory
2016-05-04 19:46:27 +02:00
Patrick Niklaus
a000f80705
[skip ci] Use 3 jobs on travis to utilize cores better
2016-05-04 19:39:52 +02:00
Patrick Niklaus
7030bff7f7
Fix typo in compiler name
2016-05-04 19:24:13 +02:00
Patrick Niklaus
bb0b7fd2d1
Modify compiler name for ccache key
2016-05-04 19:22:43 +02:00
Patrick Niklaus
71e1f3679e
Restructure travis run
2016-05-04 19:12:07 +02:00
Patrick Niklaus
b33517b099
Remove pip from dependencies
2016-05-04 18:55:29 +02:00
Patrick Niklaus
f3d5336892
Lint .travis.yml
2016-05-04 18:46:08 +02:00
Patrick Niklaus
d81f25d54e
Enable ccache compression
2016-05-04 18:42:47 +02:00