Marcel Radischat
b99d3a0a69
Avoid all highways listed in the avoid set
...
Even though the speeds are defined for a certain road class, routing should
be avoided as it is listed in the `avoid set`.
2017-12-16 23:45:04 +00:00
Daniel Patterson
5b58445535
Expose driving_side as a property on RouteStep
2017-11-09 10:08:11 -05:00
Daniel J. Hofmann
8365e20d4f
Adds cardinal_directions flag to profiles and disables ref-rewriting by default
2017-10-26 20:38:41 +01:00
Denis Koronchik
895f072425
Work on forward/backward ref's support
2017-10-19 15:18:25 +01:00
Denis Koronchik
f9c7e1e55e
Support route relation tests
2017-10-16 12:15:12 +01:00
Denis Koronchik
fc9a89ea8b
Support some cases for supperrelations in car.lua
2017-10-16 12:15:12 +01:00
Denis Koronchik
0dfec13c0a
Fix some problems
2017-10-16 12:15:12 +01:00
Denis Koronchik
3fd961a551
Some improvements in code
2017-10-16 12:15:12 +01:00
Denis Koronchik
3634aa9a3c
Add test for route relation process in car.lua. Some fixes
2017-10-16 12:15:12 +01:00
Denis Koronchik
a05e9c4932
Fix bug with simple refs support (not lists)
2017-10-16 12:15:12 +01:00
Denis Koronchik
5fd77aebb5
Add route relation support for multi ref's
2017-10-16 12:15:12 +01:00
Denis Koronchik
9a660e3c18
Implement route relation parse in car.lua
2017-10-16 12:15:12 +01:00
Michael Krasnyk
095b345713
Change location data method to way:get_location_tags(key)
2017-10-04 10:03:42 +02:00
Michael Krasnyk
0f498d13f5
Access to location dependent data in Lua via way:get_location_tags()
2017-10-04 10:03:42 +02:00
Michael Krasnyk
fec2b602a2
Bump api_version to 3 in car.lua
2017-10-04 10:03:42 +02:00
Michael Krasnyk
de942155bf
Add local left_hand_driving flag in API version 2
2017-10-04 10:03:42 +02:00
Emil Tin
f609905267
fix profile debugging related to way classes
2017-07-24 13:01:32 +02:00
Daniel J. Hofmann
64e4b7eaa0
Introduces a construction whitelist in profiles
2017-07-19 16:24:45 +00:00
Daniel J. Hofmann
ababeb3a69
Makes construction=minor ways routable again, see #4258
2017-07-19 16:24:45 +00:00
Emil Tin
e413b25cd9
profiles api v2
2017-07-18 10:09:22 +00:00
Daniel J. Hofmann
5e9397fcca
Canonicalizes all OSM string list handling in the profiles
2017-07-12 22:09:01 +00:00
Daniel J. Hofmann
6a555a477b
Discards construction and proposed ways, resolves #4230
2017-07-10 10:34:20 +02:00
Patrick Niklaus
44739f2dc3
Allow users to specify a class for each way
...
This adds the ability to mark ways with a user-defined
class in the profile. This class information will be included
in the response as property of the RouteStep object.
2017-07-06 09:17:49 +00:00
Daniel J. Hofmann
7d900e3b5a
Implements Exit Numbers + Names (junction:ref
way tag for now)
2017-07-04 20:58:19 +00:00
Michael Krasnyk
c81baae1b9
Fix incorrect weight fallback for distance-based weights
2017-04-19 08:28:38 +02:00
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