Commit Graph

213 Commits

Author SHA1 Message Date
Patrick Niklaus
ffaf0fc86f Add euclideanDistance to coordinate_calculation 2016-03-18 17:33:01 +01:00
Patrick Niklaus
fed2a67e42 First round of lat,lng -> lng,lat switcheroo 2016-03-18 17:33:00 +01:00
Patrick Niklaus
53a74ce3e6 Fix match and trip API response 2016-03-18 17:33:00 +01:00
Patrick Niklaus
b18c7d75da Fix out-of-bounds write in map_matching 2016-03-18 17:33:00 +01:00
Dane Springmeyer
f3e5ce561a Fix compile on OS X 2016-03-18 17:33:00 +01:00
Patrick Niklaus
65d56182f2 Finish the nearest plugin 2016-03-18 17:33:00 +01:00
Patrick Niklaus
1c05d8b7ae Initialize NearestParameters correctly 2016-03-18 17:33:00 +01:00
Patrick Niklaus
6223ee887c Adapt to feedback in #519 2016-03-18 17:33:00 +01:00
Patrick Niklaus
d1528dc4ac Add trip plugin 2016-03-18 17:33:00 +01:00
Patrick Niklaus
7a042e643f Hook up map matching 2016-03-18 17:33:00 +01:00
Patrick Niklaus
a129e549eb First compiling version of map_match plugin 2016-03-18 17:33:00 +01:00
Daniel J. Hofmann
d6e5b79747 Fix missing headers in hint.hpp 2016-03-18 17:33:00 +01:00
Daniel J. Hofmann
03d88b3df2 Fix forward declarations in publicly facing osrm header 2016-03-18 17:33:00 +01:00
Daniel J. Hofmann
bdfa072cac Enable all plugins with aStatus::Error return code fallback for not implemented ones 2016-03-18 17:33:00 +01:00
Daniel J. Hofmann
65ba774ebc Adds publicly facing alias headers for parameters 2016-03-18 17:33:00 +01:00
Daniel J. Hofmann
c88eeb89c6 We don't need templates at all, this is not CRTP? 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
49a173652b Service skeletons for nearest, trip, match 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
e4dace1d51 Fix grammar constraint and enable all plugin links 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
43d1e40284 Plugin grammar skeletons 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
139220058e Enforce parameter and grammar type to catch subtle bugs 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
11a92a8e54 Link parameters to grammars 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
d3a2c1c41c Require a BaseParameters type at compile time via enable_if 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
566505fd0f Adapts Nearest plugin to new API 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
9dada6b46a Fix deleting incomplete type and make Engine moveable only 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
f9d2440d95 Adapts publicly facing new API 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
a4387f39f1 Adapts NearestParameters to new API 2016-03-18 17:32:59 +01:00
Patrick Niklaus
1902292629 Initial non-building match plugin 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
445df08fb4 Semantic action handler requires passing optional by value and fusion::vector2 2016-03-18 17:32:59 +01:00
Patrick Niklaus
27a2b061bf Add tests for bearing parsing 2016-03-18 17:32:59 +01:00
Patrick Niklaus
944947962b Add table service 2016-03-18 17:32:59 +01:00
Patrick Niklaus
fda8f6ecef Add table API 2016-03-18 17:32:59 +01:00
Daniel J. Hofmann
ca6c1d7bb1 Optional<T> semantic action handler takes T argument 2016-03-18 17:32:59 +01:00
Patrick Niklaus
d88dda1a45 Fix parameter parsing tests 2016-03-18 17:32:59 +01:00
Patrick Niklaus
207f1d7732 Fix table plugin 2016-03-18 17:32:58 +01:00
Daniel J. Hofmann
d73600387b First take at distance table API re-write 2016-03-18 17:32:58 +01:00
Daniel J. Hofmann
9194ab590c Adapts TableParameters and its validation to new API 2016-03-18 17:32:58 +01:00
Patrick Niklaus
68eeb20c5c Add viaroute suport for new API 2016-03-18 17:32:58 +01:00
Patrick Niklaus
2f3b4373f9 Also exclude the compressed flag from the data format 2016-03-18 17:30:13 +01:00
Patrick Niklaus
1b25bebeac Remove geometry indicator 2016-03-18 17:30:13 +01:00
Daniel J. Hofmann
b1c84b598f Print the _local_ endpoint Boost ASIO assigns a port to, fixes #2097 2016-03-18 12:09:28 +01:00
Daniel J. Hofmann
8640129835 Ampersand binds to variable name 2016-03-15 11:47:57 +01:00
Daniel J. Hofmann
655dd2277c Eliminate extra semicola 2016-03-15 11:47:57 +01:00
Daniel J. Hofmann
40f95191a0 Do not copy pairs in loop 2016-03-15 11:47:57 +01:00
Daniel J. Hofmann
a013da860e Fixes unneeded includes in contractor header and self-include 2016-03-15 10:44:33 +01:00
Moritz Kobitzsch
4150c804df Improve the core search stopping criterion 2016-03-15 09:33:10 +01:00
Patrick Niklaus
8912928581 Disable alternatives by defaul fixes #2072 2016-03-10 21:01:30 +01:00
Daniel J. Hofmann
ac0279aa83 RAII for auto-closing file streams
Small fixes I didn't want to include in unrelated PRs.

There are a few left in `storage.cpp` but since it's a single function
in 600 lines of code, I didn't want to touch the mess. The others are
safe to remove, cucumber and test run on Finland gives 👍.
2016-03-09 17:46:02 +01:00
Patrick Niklaus
adc3bacea9 Add pruning based on @MoKob's idea in #1921 2016-03-08 00:43:45 +01:00
Patrick Niklaus
f86b5a44bc Adapt shortest_path and viaroute to core search 2016-03-07 21:26:12 +01:00
Patrick Niklaus
a98cc51ac2 Fix up some PR comments 2016-03-04 16:13:30 +01:00