Commit Graph

8480 Commits

Author SHA1 Message Date
Siarhei Fedartsou
3fbacf5a9e wip 2022-09-09 09:24:27 +02:00
Siarhei Fedartsou
2e09a7e722 wip 2022-09-08 16:39:02 +02:00
Siarhei Fedartsou
2d5e312d66 wip 2022-09-08 15:51:07 +02:00
Siarhei Fedartsou
f6d3614c2a Merge branch 'sf-warnings' of github.com:Project-OSRM/osrm-backend into sf-warnings 2022-09-08 08:56:27 +02:00
Siarhei Fedartsou
1a4568caf4 wip 2022-09-08 08:56:14 +02:00
Siarhei Fedartsou
4daf489421
Update CMakeLists.txt 2022-09-07 23:57:45 +02:00
Siarhei Fedartsou
ac8b47b664 wip 2022-09-07 23:36:44 +02:00
Siarhei Fedartsou
57d0a0890e wip 2022-09-07 23:32:23 +02:00
Siarhei Fedartsou
cfcf7f3b00 wip 2022-09-07 22:55:40 +02:00
Siarhei Fedartsou
6f077beb29 wip 2022-09-07 22:51:05 +02:00
Siarhei Fedartsou
50348166a1
Update CMakeLists.txt 2022-09-07 22:25:30 +02:00
Siarhei Fedartsou
39067f32ae wip 2022-09-07 22:06:03 +02:00
Siarhei Fedartsou
25bc7af19c wip 2022-09-07 21:40:39 +02:00
Siarhei Fedartsou
9e6ad5c9f4 wip 2022-09-07 21:25:15 +02:00
Siarhei Fedartsou
fc09d34d32 wip 2022-09-02 16:45:28 +02:00
Siarhei Fedartsou
b06167f229 wip 2022-09-02 16:28:02 +02:00
Siarhei Fedartsou
4d963e51f0 wip 2022-09-02 16:15:54 +02:00
Siarhei Fedartsou
804a70a54d wip 2022-09-02 16:13:46 +02:00
Siarhei Fedartsou
6bffa090bb wip 2022-09-02 15:58:59 +02:00
Siarhei Fedartsou
d1fdd760f3 wip 2022-09-02 15:38:29 +02:00
Siarhei Fedartsou
bc98df2d79 wip 2022-09-02 15:24:20 +02:00
Siarhei Fedartsou
ce2da0eb8a wip 2022-09-02 15:12:54 +02:00
Siarhei Fedartsou
0747e4de1d wip 2022-09-02 15:04:18 +02:00
Siarhei Fedartsou
7b4bfda502 wip 2022-09-02 15:03:17 +02:00
Siarhei Fedartsou
3b1287e75a Refactor CMake code related to compiler warnings, enable some additional warnings 2022-09-01 23:43:53 +02:00
Siarhei Fedartsou
642683c12a Refactor CMake code related to compiler warnings, enable some additional warnings 2022-09-01 23:34:47 +02:00
Siarhei Fedartsou
a58e29f5d5 Refactor CMake code related to compiler warnings, enable some additional warnings 2022-09-01 23:26:37 +02:00
Siarhei Fedartsou
dcbb572b47 Refactor CMake code related to compiler warnings, enable some additional warnings 2022-09-01 23:13:36 +02:00
Siarhei Fedartsou
60bd8ba812 Refactor CMake code related to compiler warnings, enable some additional warnings 2022-09-01 23:05:03 +02:00
Siarhei Fedartsou
daacda9484 wip 2022-09-01 17:42:00 +02:00
Siarhei Fedartsou
96f5780f06
Update CI to use clang-tidy 14 (#6353) 2022-08-31 23:39:47 +02:00
Siarhei Fedartsou
c003ac1055
Pin revisions of Conan dependencies (#6351) 2022-08-31 09:59:53 +02:00
Siarhei Fedartsou
9a638f3568
Optimize RestrictionParser performance (#6344) 2022-08-30 21:08:52 +02:00
Siarhei Fedartsou
2cf957148b
Support floats for speed value in traffic updates CSV (#6327) 2022-08-30 15:34:46 +02:00
Michael Bell
b17cbb4c47
Support OSM traffic signal directions (#6153)
Currently OSRM parses traffic signal nodes without consideration
for the direction in which the signal applies. This can lead
to duplicated routing penalties, especially when a forward and backward
signal are in close proximity on a way.

This commit adds support for directed signals to the extraction and
graph creation. Signal penalties are only applied in the direction
specified by the OSM tag.

We add the assignment of traffic directions to the lua scripts,
maintaining backwards compatibility with the existing boolean
traffic states.

As part of the changes to the internal structures used for tracking
traffic signals during extraction, we stop serialising/deserialising
signals to the `.osrm` file. The traffic signals are only used by
`osrm-extract` so whilst this is a data format change, it will not
break any existing user processes.
2022-08-30 10:36:49 +01:00
Siarhei Fedartsou
d8b358e810
Use apt-get to install Clang on CI (#6345) 2022-08-30 10:25:53 +02:00
Siarhei Fedartsou
b4142cf1a2
Add Flatbuffers support to NodeJS bindings (#6338) 2022-08-29 22:01:26 +02:00
Siarhei Fedartsou
06719be2b1
Use Lua 5.4 in Docker image (#6346) 2022-08-29 00:03:03 +02:00
Siarhei Fedartsou
18e5faa113
Remove Appveyor status from README.md (#6347) 2022-08-28 23:59:09 +02:00
Siarhei Fedartsou
a46241e45c
Add Node docs for exclude and skip_waypoints options (#6342) 2022-08-28 21:56:09 +02:00
Michael Bell
bfb74c2dad
Fix snapping target locations to ways used in turn restrictions (#6339)
Currently there is an edge-case in the turn restriction implementation,
such that routes can not be found if the target input location snaps
to a way used in a (multi) via restriction.

With the addition of snapping input locations to multiple ways, we
can now also snap to the "duplicate" edges created for the restriction graph,
thereby fixing the problem.
This is achieved by adding the duplicate restriction edges to the
geospatial search RTree.

This does open up the possibility of multiple paths representing exactly
the same route - one using the original edge as a source, the other
using the duplicate restriction graph edge as source. This is fine,
as both edges are represented by the same geometry, so will generate
the same result.
2022-08-27 15:59:44 +01:00
|so
3d5db4511c
Update http.md (#6150)
Fix the typos and some basic grammar mistakes

Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
2022-08-27 15:59:02 +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
Siarhei Fedartsou
bb18a2b428
Fix TBB in case of Conan + NodeJS build (#6333) 2022-08-26 17:09:52 +02:00
Michael Bell
c204360aa0
Fix HTTP compression precedence (#6331)
There is a bug in the deflate compression. Therefore, we do not want
to select this in the default choice for HTTP response compression.
Instead we revert back to the previous precedence, selecting gzip as
the priority.
2022-08-25 17:49:35 +01:00
Siarhei Fedartsou
df3c553f4f
Remove redundant nullptr check. (#6326) 2022-08-25 00:01:56 +02:00
Siarhei Fedartsou
91895604c9
Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
Michael Bell
a98074a051
Improvements to maneuver override processing (#6215)
This change unblocks the osrm-extract debug build, which is
currently failing on a maneuver override assertion.

The processing of maneuver overrides currently has three issues
- It assumes the via node(s) can't be compressed (the failing assertion)
- It can't handle via-paths containing incompressible nodes
- It doesn't interop with turn restriction on the same path

Turn restrictions and maneuver overrides both use the same
from-via-to path representation.
Therefore, we can fix these issues by consolidating their
structures and reusing the path representation for
turn restrictions, which already is robust to the above
issues.

This also simplifies some of the codebase by removing maneuver
override specific path processing.

There are ~100 maneuver overrides in the OSM database, so the
impact on processing and routing will be minimal.
2022-08-24 16:19:24 +01:00
Siarhei Fedartsou
8e74b7af9d
Enable performance-move-const-arg clang-tidy check (#6319) 2022-08-23 19:03:41 +02:00
Michael Bell
869b3fae82
Bump CI complete job to ubuntu-22.04 (#6323)
18.04 is being deprecated.
2022-08-22 20:55:28 +01:00