Frédéric Rodrigo
714719c377
Lua maxspeed parsing refactoring ( #5144 )
...
* Lua maxspeed parsing refactoring
2018-12-14 21:58:07 -07:00
Huyen Chau Nguyen
77b4fbb69c
Fix maxspeed to consider source:maxspeed
tags ( #5217 )
...
* In Belgium the maximum speed in rural areas is 70 in the region Flanders
* parse maxspeed using source:maxspeed and maxspeed:type tags
* add changelog
* make maxspeed:advisory more important than maxspeed
* add test for source:maxspeed
2018-12-14 21:42:44 -07:00
Frédéric Rodrigo
f928956584
Support maxlength and maxweight in car profile
2018-07-11 18:33:30 +02:00
Frédéric Rodrigo
7ff68792d7
Add helper for maxlength into measure.lua
2018-07-11 18:33:30 +02:00
Frédéric Rodrigo
3088dd0342
Better and flexible weight parsing in measure.lua
2018-07-11 18:33:30 +02:00
Patrick Niklaus
73716bd651
Add support for classes on bicycle profile
2018-04-26 21:46:20 +02:00
Michael Krasnyk
8b52c6c7ac
Update tests expectations and obvious detection
2018-03-20 16:33:15 +01:00
Michael Krasnyk
d166fc6a75
Restructure Obvious Turn Handling, code transfer from #4426
2018-03-20 16:33:15 +01:00
Michael Krasnyk
6f4af330ed
Handle oneways in get_forward_backward_by_key
2018-03-05 13:19:57 +01:00
Michael Krasnyk
5f598da76d
Add OSM node barrier=height_restrictor handling
2018-02-12 11:40:35 +01:00
Alain ANDRE
2987292cc0
Add support for non-numerical units in car profile for maxheight #4763
2018-02-02 11:07:43 +01:00
Huyen Chau Nguyen
61e06fcaba
Making the turn function more flexible ( #4789 )
...
* set and store highway and access classification for the turn function
* expose highway turn classification and access turn classification and speed to the lua profile turn function
* expose whether connection road at turn is incoming or outgoing
* add lua tests for exposed information to turn function
* update docs about attributes in process_turn
* add turn_classification info to docs
* adding warning if uturn and intersection dont match
* handle u turns that do not turn into intersection[0]
* split OSM link generation in an accessible coordinate function
2018-01-24 15:39:55 -05:00
karenzshea
02712cd513
Allow restricted access on highway=service roads for the car profile
...
We still backlist `access=private` for the car profile though.
2018-01-23 17:40:18 +01:00
Kajari Ghosh
72de59ac91
add tunnel as a class in lua ( #4812 )
2018-01-19 09:47:27 -05:00
Huyen Chau Nguyen
72a23645a8
Remove "can't parse value" log messages ( #4810 )
...
* remove log output of measure.lua
* remove unneccessary return
* quick fix of #4794
2018-01-18 17:27:45 +01:00
Frédéric Rodrigo
5af776d963
Car Profile. Route by supporting physical limitation of height and weight
2017-12-19 13:51:33 +00:00
Frédéric Rodrigo
ddf11cc2cc
Profile: stronger unit parsing
2017-12-19 13:51:33 +00:00
Denis Koronchik
c7b1d0c131
Add support of maxweight in profiles
2017-12-19 13:51:33 +00:00
Denis Koronchik
423a4ef326
Add maxheight/maxwidth support into profiles
2017-12-19 13:51:33 +00:00
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