Siarhei Fedartsou
7652f6ca6b
Apply micro-optimisation for Match API ( #6945 )
2024-06-14 16:04:19 +02:00
Siarhei Fedartsou
c1ed73126d
Use std::variant instead of mapbox::util::variant ( #6903 )
2024-05-28 18:52:49 +02:00
Dennis Luxen
7f9d591ab7
Upgrade clang-format to version 15 ( #6859 )
2024-05-06 09:14:46 +02:00
Dennis Luxen
7c06726a35
Fix formatting
2022-12-20 18:00:11 +01:00
Dennis Luxen
a4aa153ba4
Use nested namespace
...
It's a mechanical change to modernize the code base
2022-12-11 10:17:17 +01:00
Michael Bell
d74e7b66bd
Support snapping to multiple ways at an input location ( #5953 )
...
This PR improves routing results by adding support for snapping to
multiple ways at input locations.
This means all edges at the snapped location can act as source/target
candidates for routing search, ensuring we always find the best route,
and not the one dependent on the edge selected.
2022-08-27 11:36:20 +01:00
Lev Dragunov
928867c520
Add data_version
field to responses of all plugins. ( #5387 )
2022-08-22 21:07:32 +02:00
Daniel Patterson
50d9632ed7
Upgrade formatting to clang-format 10 ( #5895 )
...
* Update formatting tools to clang-format-10
* Reformat using clang-format-10.0.09
2020-11-26 07:21:39 -08:00
Denis Chaplygin
016c77a4de
Flatbuffers is not a boost::optional friendly
2019-10-01 17:26:10 +03:00
Tom Peoples
28895373fb
Fixed flatbufferbuiler copy issues.
...
Compiling under gcc9.1 we get copy issues.
It appears we shouldn't pass builder classes by value, only ref.
2019-10-01 21:54:00 +10:00
Denis Chaplygin
e97ec13064
Formatted the sources
2019-09-17 17:42:52 +03:00
Denis Chaplygin
600f48e15a
Implemented 'skip_waypoints' support in 'Route', 'Trip', 'Match' services.
2019-09-17 17:42:52 +03:00
Denis Chaplygin
80e1abba0c
Added setting 'data_version' to all flatbuffers response functions.
2019-08-26 11:09:38 +03:00
Denis Chaplygin
a9c187c99b
Updated changelog entry
2019-08-26 11:09:38 +03:00
Denis Chaplygin
306c047c14
Generalized flatbuffers response generation in 'Route','Trip','Match' services.
2019-08-26 11:08:56 +03:00
Denis Chaplygin
533f1ffc6b
Inlined routes and waypoints, as all services are using at least one of those object, so there is no need for another one level of indirection.
2019-08-26 11:08:56 +03:00
Denis Chaplygin
90191c9f34
Added flatbuffers output support to the 'Match' service
2019-08-26 11:08:56 +03:00
Michael Krasnyk
26f0b4dc77
Add assertion and adjust unit test expectations check
2018-01-19 13:55:05 +01:00
karenzshea
181eff29c7
add unit test for split submatch waypoints indices
2018-01-19 13:55:05 +01:00
karenzshea
cdad265d49
only adjust waypoint index in tracepoints when waypoints parameter is specified
2018-01-19 13:55:05 +01:00
karenzshea
55cc06fd8b
Add waypoints parameter to matching service, returns map matching result
...
with selective input coordinates as waypoints
2018-01-08 12:28:20 +01:00
Lev Dragunov
cce4f6344c
TODO fixes
2017-03-22 10:39:36 +00:00
Lev Dragunov
f7b8e06c3a
Matching alternatives count output. #3508
2017-03-01 01:29:00 +00:00
Daniel J. Hofmann
b1f6797aab
Adds generate_hints=true
for dropping hints in response, resolves #1789 .
...
Adds an `generate_hints=false` option which lets us skip generating and
emitting hints for Waypoints. This can be used to decrease the response
size when the user does not need hints anyway.
We should think about making `false` the default here in v6.
2016-12-19 12:09:36 +01:00
Patrick Niklaus
6e16eab6ec
Format with clang-format 3.8
2016-05-27 21:05:04 +02:00
Patrick Niklaus
2b4f9feeab
Forgot a irange fix
2016-04-12 18:11:08 +02:00
Patrick Niklaus
12608889e2
Fix 'ok' -> 'Ok'
2016-04-05 22:59:14 +02:00
Patrick Niklaus
30a3ab68c0
Make gcc 4.8 happy and disable protected because of lambdas
2016-04-05 22:58:32 +02:00
Moritz Kobitzsch
29fff4f51b
implements relative position feature based on coordinates
2016-04-05 22:58:32 +02:00
Patrick Niklaus
29cf9e05db
Only install necessary headers
2016-04-05 22:58:32 +02:00
Daniel J. Hofmann
298f68c966
Adds the license preamble for all publicly installed eaders, closes #2036
2016-04-05 22:58:32 +02:00
Patrick Niklaus
5e5f72ae57
Don't pass down unsnapped coordinates. All information is already there
2016-04-05 22:58:32 +02:00
Patrick Niklaus
b08b360f38
Big Restructuring / Cleanup
2016-04-05 22:58:32 +02:00
Moritz Kobitzsch
6605f293b4
relative waypoint locations
2016-04-05 22:58:32 +02:00
Patrick Niklaus
f10286de8c
Fix match and trip API response
2016-04-05 22:58:32 +02:00
Patrick Niklaus
b34f9b1795
Hook up map matching
2016-04-05 22:58:32 +02:00
Patrick Niklaus
35b098e656
First compiling version of map_match plugin
2016-04-05 22:58:32 +02:00