Commit graph

66 commits

Author SHA1 Message Date
Tom Hughes
18c2bf62ae Fix eslint warnings 2022-12-22 17:01:59 +00:00
Tom Hughes
26fedd0031 Fix eslint warnings 2022-12-22 16:59:42 +00:00
Christian Beiwinkel
1e33272153 consistent naming of FOSSGIS routers 2022-12-22 17:39:50 +01:00
Christian Beiwinkel
613c1ba234 added manoeuvre numbering 2022-12-22 17:33:20 +01:00
Christian Beiwinkel
85f627c5c2 added valhalla routing engine 2022-12-16 17:05:36 +01:00
Christian Beiwinkel
9389a7698a renamed fossgis engine 2022-12-16 16:57:14 +01:00
Kiel Hurley
778f6a8e36
Correct name in graphhopper.js
When using directions, the footer says "Directions courtesy of Graphhopper"
2022-08-17 13:19:25 +12:00
Peter
5444506976
turn_costs=true only for car
I know there was a bit forth and back in #2695 and my last recommendation was to use turn_costs=true. This was not intended for bike and foot.
2020-07-27 13:04:52 +02:00
Tom Hughes
7986576b0e Fix eslint warnings 2020-07-19 19:54:17 +01:00
Tom Hughes
2898633e72 Drop ch.disable from graphhopper parameters 2020-07-19 19:38:10 +01:00
Simon Poole
85cb71702e
Tuen on turn restriction support for graphhopper
No way of actually testing if this works, but it is based on https://docs.graphhopper.com/#operation/getRoute/parameters/point and https://www.graphhopper.com/blog/2020/07/08/turn-restriction-support-for-graphhoppers-directions-api/
2020-07-08 16:04:11 +02:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9 Enable some more eslint rules from iD rules 2019-04-06 15:48:51 +01:00
Simon Poole
26102f581f Remove old MapQuest Directions routing support 2019-01-29 20:19:36 +00:00
Simon Poole
067290f19f Remove old OSRM routing support 2019-01-29 20:19:36 +00:00
Simon Poole
8937099429 Add support for FOSSGIS routing server 2019-01-29 20:19:36 +00:00
Tom Hughes
e9abea3dd7 Avoid some accidental manouver type matches 2018-08-13 17:13:26 +01:00
Peter Karich
1cea6b363a Use XHR instead of jsonp for GraphHopper
Closes #1872
2018-05-17 20:47:58 +01:00
Tom Hughes
64f3a1a947 Fix translation lookups for roundabout exits 2018-04-30 23:01:08 +01:00
Tom Hughes
91c30d3a8c Avoid using "one" and "two" as translation keys 2018-04-30 22:38:43 +01:00
J Guthrie
e833ef6315 Separated ordinal roundabout exit text from normal exit text 2018-04-29 21:59:54 +01:00
J Guthrie
9efa2c7b92 Change roundabout exit logic and remove blank string from locale file 2018-04-29 20:30:44 +01:00
J Guthrie
4330dcdf94 Added exit counts as seperate keys in locale file 2018-04-26 00:43:01 +01:00
J Guthrie
4b4449f724 Converted roundabouts to take "1st, 2nd, 3rd" exit etc 2018-03-31 18:22:56 +01:00
Tom Hughes
f9eccfe64f Use bolded version of destinations 2018-02-25 21:29:54 +00:00
Tom Hughes
d8eda6ba03 Show exit numbers for off ramps in OSRM directions
Fixes #1768
2018-02-25 20:51:11 +00:00
Jamie Guthrie
4a9f20a485 Fix directions for roundabout without exit number
Closes #1756
2018-02-15 17:53:54 +00:00
Jamie Guthrie
161ce947c3 Improve OSRM directions for on and off ramps
Try and show both the name of the road being turned on to and the
destination depending on what is available.

Closes #1740
2018-02-13 17:32:57 +00:00
Jamie Guthrie
c12ed85233 Use both name and ref when naming roads in directions
Closes #1741
2018-02-12 20:12:57 +00:00
Tom Hughes
be86e4824f Convert various URLs to https 2018-01-08 20:18:21 +00:00
Tom Hughes
9340c46173 Remove dependencies on mapzen services 2018-01-02 18:45:20 +00:00
Peter Karich
0531091fd1 Include car profile for GraphHopper routing
Closes #1547
2017-05-24 21:17:22 +01:00
Andy Allan
4afedb07a2 Update mapzen directions credit link
Rather than pointing at a redirect, point at the target of the
redirect. Refs #1388
2017-03-30 15:18:16 +01:00
Tom Hughes
b954416a70 Merge remote-tracking branch 'openstreetmap/pull/1437' 2017-03-05 10:34:23 +00:00
Tom Hughes
d1044674c5 Merge remote-tracking branch 'openstreetmap/pull/1439' 2017-02-16 20:31:34 +00:00
Nicolas Cornu
63fca227ca Add line segment to each steps of GraphHopper routing 2017-02-16 21:19:55 +01:00
Nicolas Cornu
ffeddd62a8 Fix latLng from GraphHopper engine
latLng is an array and not a latLng object
2017-02-16 20:59:42 +01:00
Nicolas Cornu
5401055ce1 Add Ascend/Descend when routing with GraphHopper 2017-02-16 19:52:41 +01:00
Holger Jeromin
2ed5e97356 Removed duplicate entry for turn straight 2016-11-14 08:57:16 +01:00
Holger Jeromin
c5ca0d3ac5 Fixed typo trun vs turn 2016-11-11 19:30:06 +01:00
Tom Hughes
078dc1a526 Correct icon mappings for non OSRM routers 2016-08-05 18:59:21 +01:00
Patrick Niklaus
311acad0c4 Add support for OSRM 5.0 API and new instruction types
Add support for the new API in OSRM 5.x including new icon sprites
for the new instruction types.
2016-08-05 18:55:16 +01:00
Tom Hughes
24ddb8657d Revert "Don't pass the locale to the Mapzen routing engine"
This reverts commit 38180c56c9.
2016-07-26 18:36:56 +01:00
Tom Hughes
38180c56c9 Don't pass the locale to the Mapzen routing engine
It only supports en-US currently, and passing anything else now
makes it error instead of falling back to en-US.
2016-03-15 10:03:18 +00:00
Tom Hughes
e128e78408 Move routing API endpoint addresses to config file 2016-01-11 19:03:47 +00:00
Tom Hughes
3932c6b7f2 User ferry icon for kFerryEnter with Mapzen routing 2015-10-12 21:17:57 +01:00
Simon Legner
ee5e4ac5a4 Add ferry routing information for OSRM
Relates to #1000.

Uses instruction code 18 to represent a ferry instruction. Ferry icon
taken from Mapbox Maki set (CC0).
2015-10-06 21:09:56 +02:00
Tom Hughes
3c771a7844 Improve error handling for routing engines 2015-09-30 21:58:16 +01:00
Tom Hughes
8df1212b59 Scale total distance to metres for Mapzen 2015-09-30 17:22:27 +01:00