Commit Graph

227 Commits

Author SHA1 Message Date
Patrick Niklaus
41c9f94e5f sources and destinations can be empty actually 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
77adbca138 Fixes coordinate, source and destination validation by means of backporting #2041 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
f3e06b41dd Fixes ownership semantics and forwarding references misplacements in the JSON factory 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
ee4b8618f8 Unwrap function call from identity lambda 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
58973a4fd1 Uses JSON's String constructor for polyline encoding 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
4b8017d412 Passes coordinates by value 2016-03-23 17:50:13 +01:00
Patrick Niklaus
e5d964492a Fix if the last coordinate is not found 2016-03-23 17:50:13 +01:00
Patrick Niklaus
bb2baa82aa Allocate correct table size 2016-03-23 17:50:13 +01:00
Patrick Niklaus
0b5875a412 Fix travel mode passing from profiles up to the API 2016-03-23 17:50:13 +01:00
Patrick Niklaus
9a2b8cb16d Fix geometries type in steps 2016-03-23 17:50:13 +01:00
Patrick Niklaus
5fb6db7a9a Fix table parameter parsing 2016-03-23 17:50:13 +01:00
Patrick Niklaus
c1647c99c8 Fix behaviour of table if sources/destinations arrays are empty 2016-03-23 17:50:13 +01:00
Patrick Niklaus
9b75f618e8 Change stream operator of strong typedef 2016-03-23 17:50:13 +01:00
Patrick Niklaus
2df832a95e Add stream operator to Rectangle 2016-03-23 17:50:13 +01:00
Patrick Niklaus
75912b3662 Add euclideanDistance to coordinate_calculation 2016-03-23 17:50:13 +01:00
Patrick Niklaus
9a19086926 First round of lat,lng -> lng,lat switcheroo 2016-03-23 17:50:13 +01:00
Patrick Niklaus
0270ee59b4 Fix match and trip API response 2016-03-23 17:50:13 +01:00
Patrick Niklaus
5728af4a2a Fix out-of-bounds write in map_matching 2016-03-23 17:50:13 +01:00
Dane Springmeyer
6cf19ac4cf Fix compile on OS X 2016-03-23 17:50:13 +01:00
Patrick Niklaus
3f81f6b441 Finish the nearest plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus
669aa9e672 Initialize NearestParameters correctly 2016-03-23 17:50:13 +01:00
Patrick Niklaus
1d3afd5c38 Adapt to feedback in #519 2016-03-23 17:50:13 +01:00
Patrick Niklaus
c53a448589 Add trip plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus
cb82376083 Hook up map matching 2016-03-23 17:50:13 +01:00
Patrick Niklaus
9d10490613 First compiling version of map_match plugin 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
9258791811 Fix missing headers in hint.hpp 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
d7f9c31d0b Fix forward declarations in publicly facing osrm header 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
44b802c053 Enable all plugins with aStatus::Error return code fallback for not implemented ones 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
99f18051f6 Adds publicly facing alias headers for parameters 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
bc6d5bbde2 We don't need templates at all, this is not CRTP? 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0c64503218 Service skeletons for nearest, trip, match 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
e15ba88c0b Fix grammar constraint and enable all plugin links 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
2f9d1d3db2 Plugin grammar skeletons 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
42e6e974ac Enforce parameter and grammar type to catch subtle bugs 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
5a97e7a7ce Link parameters to grammars 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
8c54794d5a Require a BaseParameters type at compile time via enable_if 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
e377a19c10 Adapts Nearest plugin to new API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0fb6e9bf3f Fix deleting incomplete type and make Engine moveable only 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
d6a8690425 Adapts publicly facing new API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
cc65446785 Adapts NearestParameters to new API 2016-03-23 17:50:13 +01:00
Patrick Niklaus
487df70eb3 Initial non-building match plugin 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
7faadb1233 Semantic action handler requires passing optional by value and fusion::vector2 2016-03-23 17:50:13 +01:00
Patrick Niklaus
5c8a895471 Add tests for bearing parsing 2016-03-23 17:50:13 +01:00
Patrick Niklaus
e932a8253a Add table service 2016-03-23 17:50:13 +01:00
Patrick Niklaus
84097964b7 Add table API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
c2a35b35ad Optional<T> semantic action handler takes T argument 2016-03-23 17:50:13 +01:00
Patrick Niklaus
f6612e2afa Fix parameter parsing tests 2016-03-23 17:50:13 +01:00
Patrick Niklaus
09378f28fd Fix table plugin 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
01ddfbcba3 First take at distance table API re-write 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0468d7a7c5 Adapts TableParameters and its validation to new API 2016-03-23 17:50:13 +01:00