Moritz Kobitzsch
93299d6651
handle conditional via-way restrictions
...
- refactor conditional restriction handling to not use external data (first OSM nodes on ways)
- BREAKING: changes internal file format of osrm.restrictions
- add support for general conditional penalties based on edge-based nodes (requires unique edges between nodes)
2017-08-11 11:53:25 +02:00
vng
f34320a89b
Fixed getting entry bearing for maneuver.
2017-08-11 11:40:58 +02:00
Moritz Kobitzsch
a17b07bc4c
fix bug in conflict resolution
2017-08-11 11:01:54 +02:00
Moritz Kobitzsch
3a01ba52ef
remove a few tests that are simply testing same code paths as others
2017-08-10 12:28:31 +02:00
Mateusz Loskot
d796c66990
Prefer implicit expansion of CMake variables
...
Unify CMAKE_CXX_COMPILER_ID tests without quoting/bracketing
the variable to use implicit expansion.
Replace STREQUAL with MATCHES to avoid policy warning about
attempt to expand "MSVC" variable, where it literal is intended.
2017-08-10 12:26:48 +02:00
Mateusz Loskot
80b705e997
Add workaround for Visual C++ issue with std::array in debug
...
If Visual C++ _ITERATOR_DEBUG_LEVEL > 0, then
accessing std::array<char[N], M> elements via reference to const
causes compilation error:
...\msvc\14.10.25017\include\array(181): error C2440: 'return': cannot convert from 'const char *' to 'const char (&)[256]'
Alternative workaround is to remove const qualifier from the GetClassName method.
2017-08-10 12:21:42 +02:00
Moritz Kobitzsch
7069af3e20
explicitly use local eslint version for linting
2017-08-09 14:14:44 +02:00
Daniel J. Hofmann
209a926b45
Re-adds .npmignore, resolves #4193
2017-08-08 16:16:35 +02:00
Mateusz Loskot
71e0c7a3cf
Add define WIN32_LEAN_AND_MEAN for Visual C++
...
Helps to avoid compiler C2011 errors due to WinSock types redefinition
from dual #include of winsock.h and winsock2.h
2017-08-08 15:50:47 +02:00
Daniel J. Hofmann
b88d96f07d
[skip ci] Updates lockfiles
2017-08-08 11:37:20 +02:00
Daniel J. Hofmann
46f75c3d92
[skip ci] Bumps version to 5.11
2017-08-08 11:37:20 +02:00
Mateusz Loskot
3b8e5cec88
Ignore build directories starting with _build
...
Convenient to manage multiple builds with basic
naming convention (eg. _build.gcc7, _build.vs2017).
[ci skip]
2017-08-08 11:14:39 +02:00
FILLAU Jean-Maxime
a420169109
Reintroduce location for NodeRef in luabinding
2017-08-08 10:59:25 +02:00
Michael Krasnyk
a8db269fd5
Adjust lower bound for crossroad angle in sliproads handler, #4348/2
2017-08-04 14:37:13 +02:00
Michael Krasnyk
a5efcfdede
Sliproads test case with acute angle at the main intersection
2017-08-04 14:37:13 +02:00
Michael Krasnyk
1ecc913fc2
Fix sliproad scenario with 4 roads in a target intersection, #4348/1
2017-08-04 14:07:35 +02:00
Michael Krasnyk
08eb3b11bc
Test case for sliproad handling with 4 roads at target intersection
2017-08-04 14:07:35 +02:00
Moritz Kobitzsch
b59d9a2f27
update test-case for changed turn angles
2017-08-04 12:57:55 +02:00
Moritz Kobitzsch
e9a5e32330
fix prevention of copy elision
2017-08-04 12:57:55 +02:00
Moritz Kobitzsch
be9bdfa47e
adjust constants for changed turn angle
2017-08-04 11:20:31 +02:00
Moritz Kobitzsch
153e934ed4
shift circle angle a bit
2017-08-04 11:20:31 +02:00
Michael Krasnyk
4757c96d9a
Add a check for non-empty segments in CSV speed files
2017-08-04 11:19:32 +02:00
Michael Krasnyk
1efc527281
Test with a traffic update on an edge with traffic signal
2017-08-04 11:19:32 +02:00
Moritz Kobitzsch
468b59c53d
add changelog entry for compression of traffic signals
2017-08-04 11:19:32 +02:00
Moritz Kobitzsch
15426975b6
deduplicate geometry
2017-08-04 11:19:32 +02:00
Moritz Kobitzsch
bbcf343e40
compress traffic signals
...
- handle penalties within edges (not phantom nodes)
- changes model from providing penalties on turns to using additional segments
2017-08-04 11:19:32 +02:00
Moritz Kobitzsch
f0d3cf4e43
removing duplicated test
2017-08-04 11:19:32 +02:00
Moritz Kobitzsch
4c965b9f44
Add regression test for interaction between via-way and via-node
2017-08-03 14:37:05 +02:00
Moritz Kobitzsch
e5143247c2
move babel to dev dependencies, update releasing docs to reflect scripts in package.json
2017-08-03 14:31:41 +02:00
Daniel J. Hofmann
3a676183b2
Updates our node osrm docs and re-runs docs generation, resolves #4043
2017-08-03 14:31:41 +02:00
Daniel J. Hofmann
64265926a4
Adds babel transformation needed for node osrm docs
2017-08-03 14:31:41 +02:00
Michael Krasnyk
df2d4daad3
Fix gcc5 internal compilation error
2017-08-02 10:25:38 +02:00
Michael Krasnyk
fd0d79e17b
Update pre-installed TBB version to 2017_U7
2017-08-02 10:25:38 +02:00
Moritz Kobitzsch
84ce97a31e
Bump version to v5.10.0-rc.2
2017-08-01 12:30:31 +02:00
Moritz Kobitzsch
7e0c9f7340
remove accidental addition of debug code
2017-08-01 12:29:56 +02:00
Moritz Kobitzsch
917a36eaee
fix pedantic warnings
2017-08-01 12:27:29 +02:00
Moritz Kobitzsch
7620d419c6
fix serialisation of conditional turn restrictions
2017-08-01 12:27:29 +02:00
Moritz Kobitzsch
50c90b29d2
parse conditional turn restriction with via way
2017-08-01 12:27:29 +02:00
Daniel Patterson
0e77cf53f6
Update CHANGELOG with bugfix notes.
2017-07-31 08:33:19 -07:00
Moritz Kobitzsch
9dfbae69cc
[skip-ci] Bump version to v5.10.0-rc.1
2017-07-31 16:18:56 +02:00
Michael Krasnyk
c1ad4f6b45
Fix a single weekday grammar callback
2017-07-31 14:56:08 +02:00
Moritz Kobitzsch
8135f08958
restructure for review remarks
2017-07-31 09:36:25 +02:00
Moritz Kobitzsch
645b1ffd75
add testcases to highlight limitation of via-way handling
2017-07-31 09:36:25 +02:00
Moritz Kobitzsch
8d0202d240
Add data structure to allow identification of via-way turns during creation of edge-based-graph
...
initial version of handling via-way turn restrictions (this is dirty)
- requires update of data structures
- requires clean-up
- requires optimisation
2017-07-31 09:36:25 +02:00
Moritz Kobitzsch
b1809d1667
pre-filter turn restrictions for validity
2017-07-31 09:36:25 +02:00
Moritz Kobitzsch
2e9a7d9c1a
refactor restriction parsing / extraction to actual types
...
Makes turn restrictions into dedicated structures and diferentiates between them via a variant.
Ensures that we do not accidentally mess up ID types within our application.
In addition this improves the restriction performance by only parsing all edges
once at the cost of (at the time of writing) 22MB in terms of main memory usage.
2017-07-31 09:36:25 +02:00
Moritz Kobitzsch
1f7aa6f812
adding tests to highlight via-way-restriciton development
2017-07-31 09:36:25 +02:00
Patrick Niklaus
032a189440
Merge pull request #4352 from Project-OSRM/fix_reverse_datasources
...
Save both forward and reverse datasources.
2017-07-28 07:53:17 +00:00
Daniel Patterson
be5fc50136
Save both forward and reverse datasources.
2017-07-27 14:45:28 -07:00
Moritz Kobitzsch
0affec8f17
handle throughabouts -- do not announce going through
2017-07-26 10:37:20 +02:00