Michael Krasnyk
b5c77de923
Fix msvc linking of boost libraries
2016-10-28 12:42:36 -07:00
Daniel Patterson
da77edfc83
Explicitly set minimum OSX version, and detect SDK path.
...
This fixes situations where XCode is installed with a newer SDK than the current OS. (#3198 )
2016-10-27 16:29:27 -06:00
Dane Springmeyer
2917122287
Merge pull request #3196 from Project-OSRM/build-fixes
...
Minor build fixes
2016-10-27 14:43:36 -07:00
Dane Springmeyer
a22e0fa62e
minor build fixes
...
- Travis: Upgrade clang from 3.8.0 to 3.8.1 (provides smaller package for faster downloading)
- Travis: Makes BUILD_COMPONENTS an option
- Followup after #3130 (Boost_LIBRARIES variable no longer exists)
2016-10-27 13:39:33 -07:00
Denis Koronchik
dc7e61c25d
Fix declaration of makeRouteStep function
2016-10-27 20:12:02 +02:00
Moritz Kobitzsch
8dc667f20d
fix warnings due to superfluous ;
2016-10-27 20:06:14 +02: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
Moritz Kobitzsch
01a2c66472
rip out unused m_node_info_list
2016-10-27 18:51:59 +02:00
Huyen Chau Nguyen
cf35bbeb50
refactor function names; consolidate readCount() functions;
...
remove templated types as much as possible for type safety;
add more comments;
clean up code, add const if possible;
2016-10-26 13:18:52 -07:00
Huyen Chau Nguyen
fe94977c9b
refactor loading code of .ramIndex files and move to io.hpp
2016-10-26 13:18:52 -07:00
Huyen Chau Nguyen
69a60686dc
refactor loading code of .datasource_indexes and .datasource_names files and move to io.hpp
2016-10-26 13:18:52 -07:00
Huyen Chau Nguyen
7b97e1035f
refactor loading code of .nodes and .edges files and move to io.hpp
2016-10-26 13:18:52 -07:00
karenzshea
c4f010e363
read properties stream to size of properties object, not 1
2016-10-26 13:18:52 -07:00
karenzshea
51ebadfc45
deduplicate code for loading profile properties into io.hpp
2016-10-26 13:18:52 -07: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
Daniel J. Hofmann
a933b5d949
Prevents the Matching getting confused when users are time-travelling.
2016-10-25 10:42:24 -07: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
7753845f5c
Make thread-locked access to stxxl containers
...
From stxxl FAQ: "you should not share a data structure between
threads (without implementing proper locking yourself)."
The access to name_char_data can be implicitly parallelized
if _GLIBCXX_PARALLEL is defined and invalidate local-thread iterators.
2016-10-25 10:03:26 -07:00
Dane Springmeyer
19eec48207
Merge pull request #3163 from Project-OSRM/pc-fixes
...
Add -l to rt and gcov
2016-10-24 18:53:49 -07:00
Dane Springmeyer
293856981f
add -l to rt and gcov
2016-10-24 17:09:03 -07:00
Michael Krasnyk
86b70f2632
Don't fail on incorrect lane tags '1; 2'
2016-10-24 15:25:46 -07:00
Daniel J. Hofmann
1905a0f473
Documents InvalidValue response code, resolves #3150
2016-10-24 09:54:09 -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
Daniel J. Hofmann
7f28a14c76
Fixes Grammar in Github Pull Request Template
2016-10-21 16:52:05 -07:00
karenzshea
fead71da54
add comment on find() [skip ci]
2016-10-21 14:23:02 -07:00
karenzshea
c26e90cac0
sort/unique turn penalty lookup
2016-10-21 14:23:02 -07:00
karenzshea
d4e5710928
parse turn penalties in parallel, add unique and sorting steps
2016-10-21 14:23:02 -07:00
karenzshea
5c2783310a
add pr todo for updating wiki [skip ci]
2016-10-21 13:58:51 -07:00
Patrick Niklaus
b8795c7341
Rename increasingly inaccuratly named distance member of QueryEdge to weight
2016-10-21 21:00:02 +02:00
Daniel J. Hofmann
1d994da12b
Makes Scripts Fail Fast and Loud
2016-10-21 17:56:56 +02:00
Dane Springmeyer
46994e87be
Merge pull request #3130 from Project-OSRM/cmake-fixes
...
cmake fixes
2016-10-20 15:34:24 -07:00
Moritz Kobitzsch
40bfe89d97
add test
2016-10-20 14:28:33 -07:00
Moritz Kobitzsch
e3c2d4dddc
use-lane can occur in roundabouts as well
2016-10-20 14:28:33 -07:00
Dane Springmeyer
502d9e10c2
cmake fixes:
...
- Builds up ENGINE_LIBRARY_LISTING correctly to pass to pkg-config
- Previous behavior had major flaw and would result in paths in libosrm.pc like: "-L-L"
when the data was "-L/path -lfoo" or just "-lpthread" with no -L/path. It only worked correctly for static libraries
- Refactors to call find_package for boost in one place (helps prepare for upcoming mason PR)
2016-10-20 12:09:27 -07:00
Daniel J. Hofmann
865c6590fa
Limits the object cache size to 256M
2016-10-20 11:33:28 -07:00
jakepruitt
c30784895d
clang-format and remove debug
2016-10-20 11:32:28 -07:00
jakepruitt
fa1fc810ea
std::for_each -> std::copy
2016-10-20 11:32:28 -07:00
jakepruitt
052b0e831d
Remove debug logging
2016-10-20 11:32:28 -07:00
jakepruitt
42271d99b2
Store node ID's and weights separately in CompressedEdgeContainer
...
Removes CompressedEdges from the extractor and shared data format by
directly serializing vectors of node ID's, forward weights and reverse
weights for each node-based-edge
Refs #2575
2016-10-20 11:32:28 -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
Huyen Chau Nguyen
2d13116487
fix memory leak of char[] initialization
2016-10-19 17:26:21 -07:00
Huyen Chau Nguyen
316ef305de
Refactor loading code for timestamp file
2016-10-19 17:26:21 -07:00
Daniel J. Hofmann
ab1a9271c8
Canonicalizes Spaces in Semicolon Stringlists, fixes #3086
2016-10-19 14:14:18 -07:00
Daniel J. Hofmann
18bc02f087
Collapses Double OSRM <-> Engine <-> .. PImpl Indirection, Resolves #3019 .
2016-10-19 13:42:08 -07:00
Moritz Kobitzsch
2a2abe9e0f
remove unused class DiscreteAngle
2016-10-19 21:40:45 +02:00