Commit Graph

66 Commits

Author SHA1 Message Date
Daniel J. Hofmann
9338d418c8 Runs scripts/format.sh 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
be5f231641 bugfixing/classification 2016-03-23 17:52:51 +01:00
Patrick Niklaus
c19fae4a43 Big Restructuring / Cleanup 2016-03-23 17:52:51 +01:00
Lauren Budorick
c44a370dd3 Fixes for gcc compiling, temporary hacks to remove later 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
9f5e79501e handle segregated roads (merge for turn analysis) 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
cf5e722578 structural changes, motorway handling 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
f12bb2fa2f enter and exit roundabout feature - currently not showing turn 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
28d878ed23 migrated out of edge based graph factory 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
6db16e950a relative waypoint locations 2016-03-23 17:52:14 +01:00
Moritz Kobitzsch
862f8d6ff3 handling of roundabouts (simple version) 2016-03-23 17:52:14 +01:00
Moritz Kobitzsch
8c67dd4504 advanced guidance on 5.0 2016-03-23 17:52:14 +01:00
Patrick Niklaus
23d79bde54 Fix numerical problems with polyline 2016-03-23 17:50:13 +01:00
Patrick Niklaus
8ab38b126c Return NoMatch 2016-03-23 17:50:13 +01:00
Patrick Niklaus
f7b7dbf51a Preliminary integration of the tile plugin 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
4b8017d412 Passes coordinates by value 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
64d4d58a0d Asserts on unknown TurnInstruction 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
5d83fa1e4c Fixes header includes in the JSON factory 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
c1647c99c8 Fix behaviour of table if sources/destinations arrays are empty 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
3f81f6b441 Finish the nearest plugin 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
9d10490613 First compiling version of map_match plugin 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
99f94969aa Temporarily comment out match.cpp as to not break the build process 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
Patrick Niklaus
487df70eb3 Initial non-building match plugin 2016-03-23 17:50:13 +01:00
Lauren Budorick
aa79c41804 Include numeric in assemble_overview.cpp (needed on OSX for std::accumulate) 2016-03-23 17:50:13 +01:00
Patrick Niklaus
84097964b7 Add table API 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
Patrick Niklaus
39bc0fd330 Add viaroute suport for new API 2016-03-23 17:50:13 +01:00
akaiser
2cf8309987 Bugfix: set initial uturn indicators 2016-03-14 17:14:01 +01:00
Patrick Niklaus
0eaa393065 Limit tile zoomlevel to 12+ 2016-03-02 19:59:49 +01:00
Daniel J. Hofmann
aeee565115 Formats all the files we touch.. 2016-03-01 23:51:25 +01:00
Daniel Patterson
5dc7b79bb6 Implements a vector tileserver so you can see what's going on inside
OSRM.
2016-03-01 23:51:25 +01:00
bergwerkgis
d38575a011 include lock_types.hpp 2016-02-17 22:54:45 +01:00
Daniel J. Hofmann
a48f02e0da Takes care of proper special member generation globally, fixes #1689
Phew, a lot of classes were affected by this. The rationale for the
changes are as follows:

- When a type X declares any constructor, the default constructor is
  not declared, so there is no need for X() = delete there. In fact,
  there is brutal difference between those two: deleted members
  participate in overload resolution, but not-declared members do not!

- When a type X wants to be non-copyable (e.g. to be only movable, like
  threads, unique_ptrs, and so on), you can either do it by inheriting
  from boost::noncopyable (the old way), or better declare both (!) the
  copy constructor _and_ the copy assignment operator as deleted:

      X(X const&) = delete;
      X& operator=(X const&) = delete;

  We had tons of types with deleted copy constructors that were lacking
  a corresponding deleted copy assignment operator, making them still
  copyable and you wouldn't even notice (read: scary)!

References:

- http://accu.org/content/conf2014/Howard_Hinnant_Accu_2014.pdf
- http://www.boost.org/doc/libs/master/libs/core/doc/html/core/noncopyable.html

Note: I know, I'm quoting Hinnant's extraordinary slides a lot, but
getting the sematic right here is so incredibly important.
2016-01-27 17:25:30 +01:00
Patrick Niklaus
d9c281cd7c Remove boost fusion dependency in RouteParameters 2016-01-26 22:57:02 +01:00
Daniel J. Hofmann
d391df52ba Be kind to the optimizer, pass coordinates by value (just two ints) 2016-01-26 22:57:02 +01:00
Daniel J. Hofmann
54a9173107 Make public RouteParameters header no longer depend on Spirit
And includes the optional header that was transitively included by the
spirit header before. Hopefully this will speed up compile times, as the
RouteParameters header is used in a lot of translation units.
2016-01-26 22:57:02 +01:00
Daniel J. Hofmann
04e26ba6b8 Adds missing cstdlib header for std::llabs 2016-01-26 17:54:08 +01:00
Daniel J. Hofmann
0fbdd57835 Quickfixes polyline encoder's undefined behavior via left-shifting negative numbers 2016-01-26 17:54:08 +01:00
Patrick Niklaus
439eb9da3d Create public facing libraries for extractor, contractor and datastore
New libraries libosrm_extract, libosrm_contract, libosrm_store
2016-01-21 06:47:34 +01:00
Daniel Patterson
e21eaa4b9e Adds a shared/exclusive lock around queries and CheckAndReloadFacade.
Without this, it's possible for CheckAndReloadFacade to start working
while a query is still in progress, leading to undefined behaviour.
2016-01-19 17:44:29 +01:00