Commit Graph

8623 Commits

Author SHA1 Message Date
Siarhei Fedartsou
0ae5190937
Fix npm audit warnings in NPM package (#6437) 2022-11-04 12:19:39 +01:00
Dennis Luxen
a1c1fefd6e Fix formatting, pass by value 2022-11-04 11:49:54 +01:00
Dennis Luxen
6fa7bd8abd Upgrade check_tackinfo.py to Python3 2022-11-04 11:47:40 +01:00
Dennis Luxen
7359d6a21b Merge remote-tracking branch 'origin/master' into replace_boost_stringref 2022-11-04 11:43:41 +01:00
Dennis Luxen
5dda33fa88 More efficient toLower implementation 2022-11-04 11:42:37 +01:00
Dennis Luxen
5280ca4e16 Pass string_view by value 2022-11-04 11:41:02 +01:00
Dennis Luxen
2c02d4e5ab Update CHANGELOG.md 2022-11-01 12:10:48 +01:00
Siarhei Fedartsou
54d486ae12
Drop support of Node 12 & 14 (#6431) 2022-11-01 08:23:08 +01:00
Siarhei Fedartsou
afe34456b9
Delete CloudFormation templates (#6435)
There is no need in them - it seems they were needed to manage some Mapbox S3 bucket which we have no access to anyway.
2022-10-31 13:22:13 +01:00
Dennis Luxen
2f75d6f22b
Merge pull request #6429 from Project-OSRM/less_boost_unordered
Replace boost::unordered_{map/set} with std, also remove code duplication
2022-10-30 22:17:48 +01:00
Dennis Luxen
85e6a854aa Fix missing includes (on Windows) 2022-10-30 22:08:29 +01:00
Dennis Luxen
12f49d6f24 Stray whitespace 2022-10-30 20:11:36 +01:00
Dennis Luxen
7149547645 Fix formatting 2022-10-30 20:10:09 +01:00
Dennis Luxen
565959b389 Remove util/string_view header 2022-10-30 20:01:46 +01:00
Dennis Luxen
5c9d0d152c Remove usage of StringView typedef 2022-10-30 19:53:26 +01:00
Dennis Luxen
274dcc58a5 Remove superflous std::hash specialization 2022-10-30 19:21:06 +01:00
Dennis Luxen
d06b23d819 More fixes 2022-10-30 14:08:17 +01:00
Dennis Luxen
91e9623b31 Fix formatting 2022-10-30 14:06:19 +01:00
Dennis Luxen
0021ccef59 Replace boost::string_ref with std::string_view 2022-10-30 13:59:59 +01:00
Dennis Luxen
061f0a1f14 Fix includes 2022-10-30 11:43:28 +01:00
Dennis Luxen
60e283312c
Fix typo historgram -> histogram (#6427) 2022-10-30 08:34:00 +01:00
Dennis Luxen
f97e18d285 Fix formatting 2022-10-29 23:01:38 +02:00
Dennis Luxen
7b73b977ff Replace boost::unordered_{map/set} with std, also remove code duplication 2022-10-29 22:57:14 +02:00
Siarhei Fedartsou
38e4b0b9d6 Implement NodeJS based server fully replicating osrm-routed 2022-10-29 13:26:40 +02:00
Siarhei Fedartsou
ddde7e1ea6 Implement NodeJS based server fully replicating osrm-routed 2022-10-29 13:24:48 +02:00
Michael Bell
5d468f2897
Make edge metrics strongly typed (#6421)
This change takes the existing typedefs for weight, duration and
distance, and makes them proper types, using the existing Alias
functionality.

Primarily this is to prevent bugs where the metrics are switched,
but it also adds additional documentation. For example, it now
makes it clear (despite the naming of variables) that most of the
trip algorithm is running on the duration metric.

I've not made any changes to the casts performed between metrics
and numeric types, they now just more explicit.
2022-10-28 15:16:12 +01:00
Siarhei Fedartsou
4dfae26be7 add cluster 2022-10-26 19:30:27 +02:00
Siarhei Fedartsou
16685d0de9
Add link to Discord server (#6422) 2022-10-26 11:22:28 +02:00
Siarhei Fedartsou
40805f7058 Implement NodeJS based server fully replicating osrm-routed 2022-10-25 20:26:20 +02:00
Siarhei Fedartsou
8e3fa70eb0 Implement NodeJS based server fully replicating osrm-routed 2022-10-25 15:54:59 +02:00
Siarhei Fedartsou
82897791d1
Update actions/cache to v3 (#6420) 2022-10-24 00:52:15 +02:00
Siarhei Fedartsou
41ff79aa1d Implement NodeJS based server fully replicating osrm-routed 2022-10-23 17:00:36 +02:00
Siarhei Fedartsou
6dfb7d4ede Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:57:01 +02:00
Siarhei Fedartsou
71a638a14f Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:42:47 +02:00
Siarhei Fedartsou
4fd4c3b563 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:24:07 +02:00
Siarhei Fedartsou
242c07443a Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:07:34 +02:00
Siarhei Fedartsou
1047cc1bfd Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:06:13 +02:00
Siarhei Fedartsou
9c7d75d7d4 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:01:57 +02:00
Siarhei Fedartsou
3f0ded653d Implement NodeJS based server fully replicating osrm-routed 2022-10-23 16:01:13 +02:00
Siarhei Fedartsou
61810b9205 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 15:59:51 +02:00
Michael Bell
9ad432c5b2
Fix adding traffic signal penalties during compression (#6419)
Weight and duration penalties are flipped in the lambda function
that applies penalties from traffic signals.

Duration is in deciseconds, whilst weight is multipled by
10^weight_precision, with weight_precision being 1 by default.

Therefore, for default routability profile, the penalties end up
being the same, hence why no tests picked this up.

If distance weight is used however, it will incorrectly apply an
additional penalty to the weight, and not add the traffic signal
delay to the duration in the routing graph.

To confuse things further, in some API responses the values are
correct because they use geometry data instead, but it's still
possible that a sub-optimal route was selected.

However, given the distance weight is in meters, and the additional
penalty per traffic light would be 20, it's unlikely this would
have changed the routing results.

In any case, we correct the function to apply the arguments correctly.
2022-10-23 14:59:12 +01:00
Siarhei Fedartsou
8273e8b0e2 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 15:13:42 +02:00
Siarhei Fedartsou
dd04760982 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 14:38:42 +02:00
Siarhei Fedartsou
768c33127a Implement NodeJS based server fully replicating osrm-routed 2022-10-23 14:26:10 +02:00
Siarhei Fedartsou
251ffe4a50 Implement NodeJS based server fully replicating osrm-routed 2022-10-23 14:18:52 +02:00
Siarhei Fedartsou
53f2da5d5e Implement NodeJS based server fully replicating osrm-routed 2022-10-23 13:56:21 +02:00
Siarhei Fedartsou
c1d2c15995
Handle snapping parameter for all plugins in NodeJs bindings, but not for Route only (#6417) 2022-10-22 16:49:35 +02:00
Siarhei Fedartsou
fb1bb7a15b
Fix annotations=true handling in NodeJS bindings & libosrm (#6415) 2022-10-19 08:35:18 +02:00
Siarhei Fedartsou
d65e8c7d1e
Fix bindings compilation on latest Node (#6416) 2022-10-18 21:59:39 +02:00
Michael Bell
5e5f1f4add
5.27.1 release (#6409)
* Bookkeeping for 5.27.1 release

* Reset for next release
2022-10-14 23:04:41 +01:00