Patrick Niklaus
cc3a4899a2
Only allow restricted access for road of certain highway type
2017-03-03 16:03:41 +00:00
karenzshea
c2727f2029
expose data about turning onto restricted roads to turn function
2017-02-20 12:40:51 +00:00
Lev Dragunov
a0e7bab598
Add oneway:conditional profile code comment.
2017-02-20 10:34:06 +00:00
Lev Dragunov
67ae86882a
Conditional oneway restrictions
2017-02-20 10:34:06 +00:00
Patrick Niklaus
b906f2a628
Fix side road penalties and add test
2017-02-13 09:28:35 +00:00
Patrick Niklaus
2e6428e917
Fix HOV lane support with penalties
2017-02-10 14:27:28 +00:00
karenzshea
1f3a8d4538
remove units from rate columns in routability testing
2017-02-10 14:27:28 +00:00
karenzshea
140f1ad923
convert speed to meters per second when used to set rate
2017-02-10 14:27:28 +00:00
karenzshea
1c25070572
provide rate and weight headers for checking in routability tests
2017-02-10 14:27:28 +00:00
karenzshea
24fe881d03
hov_penalty, use min penalty rather than aggregate
2017-02-10 14:27:28 +00:00
karenzshea
25ab51f4f0
remove calls to handlers now in handle_penalties
2017-02-10 14:27:28 +00:00
karenzshea
46f96af360
fix merge conflicts
2017-02-10 14:27:28 +00:00
Patrick Niklaus
ae835cc04f
Blacklist steps from the car profile
2017-02-08 14:27:55 +00:00
Emil Tin
d81ef3f4db
first round of handlers
2017-02-07 09:06:04 +00:00
Emil Tin
3abab16bf3
move settings to profile table
2017-02-07 09:06:04 +00:00
Michael Krasnyk
9e5d45d86a
Added 'distance' weight to car profile
2017-02-03 18:59:00 +00:00
Michael Krasnyk
5fd6355829
add empty speed tables to foot.lua
2017-02-03 12:41:26 +00:00
Michael Krasnyk
1628ebb871
Fix assertions in car profile, resolves #3629
...
restrict direction if access tag is missing and can not be derived
from highway tag
http://www.openstreetmap.org/way/4282676
http://www.openstreetmap.org/way/4621857
http://www.openstreetmap.org/way/4898368
2017-02-03 12:41:26 +00:00
Emil Tin
97c0a74c04
factor out common lua code to helper files
2017-02-01 16:50:18 +01:00
Emil Tin
445225bf6d
clean up lua debugging
2017-01-25 16:37:41 +01:00
Emil Tin
47b1a56b12
refactor foot profile (as was done for car)
2017-01-25 11:23:49 +01:00
Daniel J. Hofmann
fd57c5b48b
Supports destination:street, resolves #3541
2017-01-13 11:07:01 +05:30
Emil Tin
532cbfce13
profiles: Directional helper, some car refactoring
2016-12-05 14:15:47 +01:00
Emil Tin
f5bf788814
lua: simplify destination helper
2016-11-18 00:21:34 +01:00
Emil Tin
00f7d7776d
lua: refactor destination helper
2016-11-18 00:21:34 +01:00
Emil Tin
173a39fd8b
lua: fix typo
2016-11-18 00:21:34 +01:00
Emil Tin
5d564ee510
lua: Set and Sequence
2016-11-18 00:21:34 +01:00
Emil Tin
24c2708d1e
lua: eliminte tag cache, simplify tag checks
2016-11-18 00:21:34 +01:00
Emil Tin
d87a972c66
don't return empty tags strings to lua
2016-11-18 00:21:34 +01:00
Emil Tin
c3aeef4e09
lua: eliminate TagCache.set_tag()
2016-11-18 00:21:34 +01:00
Emil Tin
184cfab33b
increase performance by passing vars instead of a table
2016-11-18 00:21:34 +01:00
Emil Tin
cff69178e8
lua: simple tag cache enabling factoring way_function into smaller functions
2016-11-18 00:21:34 +01:00
Emil Tin
6c682b2258
lua: helpers for debugging
2016-11-18 00:21:34 +01:00
Michael Krasnyk
86b70f2632
Don't fail on incorrect lane tags '1; 2'
2016-10-24 15:25:46 -07:00
Moritz Kobitzsch
5e167b8745
Turn Angles in OSRM were computed using a lookahead of 10 meters.
...
This PR adds more advanced coordinate extraction, analysing the road
to detect offsets due to OSM way modelling.
In addition it improves the handling of bearings. Right now OSM reports
bearings simply based on the very first coordinate along a way.
With this PR, we store the bearings for a turn correctly, making the
bearings for turns correct.
2016-10-20 10:47:29 +02:00
Kajari Ghosh
3f0f0e306b
Directional Destination Tags ( #3061 )
...
* cucumber test scenarios, #3027
* post review comments
* two tests are still failing
* fixed one test
* passing tests
* cleaner code refactor
* possible sceanrios for destination:ref:forward/backward
* added code for direction:ref:forward/backward, tests pass
* changelog
* store direction in variable
* added tags to taginfo
* fixed dumb error
* use boolean flags
* null pointer checks
* hopefully better null pointer checks
2016-10-18 23:09:19 -04:00
Moritz Kobitzsch
be266c7c2b
fix copy-paste typo in guidance lib
2016-09-05 15:00:42 +02:00
Daniel Patterson
a4f9499305
Invalid string values in lanes:psv:backward should result in 0 lanes,
...
not `nil`.
2016-09-04 14:23:43 -07:00
Moritz Kobitzsch
7d076e9344
handle access flags for lanes
2016-07-25 20:01:58 +02:00
Moritz Kobitzsch
1fc63e1e72
move hardcoded road priorities into profiles, change road classification
2016-07-25 13:07:54 +02:00
Daniel J. Hofmann
445e5bed49
Respect ';'-separated list in destination:ref tag
2016-05-04 15:28:34 +02:00
Daniel J. Hofmann
4cf94319df
Basic destination sign handling.
...
This first part in our Exit Sign / Destination Sign quest re-wires
the `destination=` and `destination:ref=` tag to the `ref=` tag (in case
it's the highway does not already have a `ref=` tag).
Doing some analysis on both Berlin and San Francisco it looks like this
will add a couple of thousand `ref=` tags that we will announce in guidance.
References:
- https://github.com/Project-OSRM/osrm-backend/issues/2267#issuecomment-214771682
- http://wiki.openstreetmap.org/wiki/Key:destination
- http://wiki.openstreetmap.org/wiki/Proposed_features/Destination_details
2016-05-04 15:28:34 +02:00
Daniel J. Hofmann
c70d138eb9
Spelling: Hierachy vs Hierarchy
2016-04-04 13:58:55 +02:00
Lauren Budorick
566ab993df
Use lua 5.2+ without needing compatibility flags.
2015-05-15 15:02:23 +02:00
Dennis Luxen
27c255c874
port bicycle profile
2014-11-17 14:58:34 +01:00
Dennis Luxen
462d4c99cc
port testbot profile
2014-11-17 14:58:34 +01:00
Emil Tin
30362cfc0c
update lua interface to speed and mode
2014-08-20 11:08:58 +02:00
Emil Tin
235a52032a
more tests passing
2014-08-20 11:08:42 +02:00
Dennis Luxen
d9a26c4062
fixing bug from premature commit
2013-06-26 13:50:07 -04:00
Dennis Luxen
48cb374d94
refactored some parameter setting
2013-06-26 13:40:25 -04:00