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
Patrick Niklaus
c459530cb6
Address PR comments
2018-05-08 15:50:25 +00:00
Kajari Ghosh
2a15e6dec8
Add support for annotations=distances in MLD
...
This commit brings feature parity with CH for the `table` pluging.
2018-05-08 15:50:25 +00:00
Kajari Ghosh
14860b62e9
Unpack paths and return total distance in matrix plugin for CH ( #4990 )
2018-04-20 18:18:55 -04:00
Michael Krasnyk
fec2b602a2
Bump api_version to 3 in car.lua
2017-10-04 10:03:42 +02:00
Patrick Niklaus
bc8617a9f4
Fix remaining PR comments
2017-08-21 13:00:12 +02:00
Patrick Niklaus
27324d0270
Add more tests for exclude validation
2017-08-21 13:00:12 +02:00
Patrick Niklaus
0c838fb60c
Fix turnbot profile
2017-08-21 13:00:12 +02:00
Patrick Niklaus
d09f5c0e3a
Avoid -> Exclude
2017-08-21 13:00:12 +02:00
Patrick Niklaus
960a595268
Add test for avoid flags
2017-08-21 13:00:12 +02:00
Emil Tin
e413b25cd9
profiles api v2
2017-07-18 10:09:22 +00:00
Daniel Patterson
cd8fb82215
Add flag to allow skipping calling node function for nodes with no tags.
2017-06-13 12:23:00 +00:00
Patrick Niklaus
279f8aabfb
Allow specifing a weight for routing that is independent of duration
2017-01-27 11:19:37 +01:00
Patrick Niklaus
0f3a463854
Add api_version
gloabal variable to profiles
...
Currently only `0` is supported (the default).
2016-12-23 15:02:10 +01:00
Kajari Ghosh
c30f43b148
added max_speed to the profiles ( #3089 )
2016-11-01 17:13:10 -04:00
Moritz Kobitzsch
efa29edf09
basic turn lane handling
2016-06-27 10:07:41 +02:00
Daniel J. Hofmann
ad70759f91
Revert "Handle small roundabouts, fixes #516."
...
This reverts commit 7641b12b08
.
Conflicts:
profiles/bicycle.lua
profiles/car.lua
2016-06-02 15:08:24 +02:00
Daniel J. Hofmann
7641b12b08
Handle small roundabouts, fixes #516 .
...
This gives us ~51k additional roundabout instructions.
Guidance handes sizes internally.
Note: it is highway=mini_roundabout but junction=roundabout
References:
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout
- http://wiki.openstreetmap.org/wiki/Tag:junction=roundabout
- http://taginfo.openstreetmap.org/tags/highway=mini_roundabout
2016-06-01 20:17:48 +02:00
Patrick Niklaus
589767fe6d
uturns -> continue_straight
2016-04-12 23:16:02 +02:00
Moritz Kobitzsch
ef1fb08723
fix cucumber tests and issues
2016-04-05 22:59:14 +02:00
Patrick Niklaus
71c336d9dd
Adds .properties file to osrm-extract ouput
...
This file contains global properties set by the lua
profile, such as enabling uturns at vias and penalties.
This file will be consumed by the server.
2016-04-05 22:58:32 +02:00
Patrick Niklaus
8eb98982f3
Fix travel mode passing from profiles up to the API
2016-04-05 22:58:32 +02:00
Daniel J. Hofmann
bb1428eeb1
Remove unneeded semicola from profiles.
...
Nothing fancy, does what it says.
2015-09-02 12:23:26 +02:00
Dennis Luxen
4fce0dadcf
remove further debug output from profiles
2014-11-19 09:58:41 +01:00
Dennis Luxen
462d4c99cc
port testbot profile
2014-11-17 14:58:34 +01:00
Emil Tin
774e6346e7
more robust check for parsed ways
2014-08-20 17:10:40 +02:00
Emil Tin
fccb1aad32
remove type attribute
2014-08-20 11:08:59 +02:00
Emil Tin
30362cfc0c
update lua interface to speed and mode
2014-08-20 11:08:58 +02:00
Emil Tin
6e1ab9fe3a
profile fixes
2014-08-20 11:08:42 +02:00
Emil Tin
6d6d299ea4
most tests passing
2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd
first cut at porting travel mode, some tests fail
2014-08-20 11:08:41 +02:00
Emil Tin
bddad0c57c
add test for roundabout with oneone links
2014-05-20 13:27:32 +02:00
Emil Tin
762dd17512
cleanup indentation of lua profiles
2014-04-01 15:40:52 +02:00
Dennis Luxen
e949677c48
fixes #808
2013-12-08 15:52:23 +01:00
DennisOSRM
53af4ee39f
Cleaning of several regressions in the parsing code.
2013-02-27 17:36:44 +01:00
DennisOSRM
348e656671
Merge branch 'feature/opposite_direction' into develop
2013-02-04 18:38:15 +01:00
DennisOSRM
a92950d234
Fixes how durations are parsed
2013-01-27 23:01:37 +01:00
DennisOSRM
62cc8f456c
Rebasing branch on develop
2013-01-27 14:49:47 +01:00
DennisOSRM
6317b08090
Fixing test cases to check for different speeds in opposite direction
2013-01-27 14:36:57 +01:00
Emil Tin
aae0547cca
better testbot maxspeed handling, fix test
2013-01-27 14:36:56 +01:00
Emil Tin
4f9c422e2f
test maxspeed forward/backward
2013-01-27 14:36:56 +01:00
DennisOSRM
7b4b7232fc
Fixing test for opposite directions
2013-01-27 14:36:56 +01:00
Emil Tin
43bb53e789
better testbot maxspeed handling, fix test
2013-01-19 16:00:44 +01:00
Emil Tin
384be58230
test maxspeed forward/backward
2013-01-19 13:10:11 +01:00
DennisOSRM
7f311551dd
Fixing test for opposite directions
2013-01-18 19:01:36 +01:00
Emil Tin
7493d8aa49
test ferry duration on part of route
2012-11-04 14:00:21 +01:00
Emil Tin
1ad274ed2e
more reorganizing of tests
2012-10-01 13:33:47 +02:00
Emil Tin
e69777d20a
use 7s as signal penalty
2012-09-28 16:47:44 +02:00
Emil Tin
eae9e4bab7
clean up signal penalty test
2012-09-28 15:58:46 +02:00
Emil Tin
8cd28276ea
testbot profile and update of time tests
2012-09-28 10:53:27 +02:00