Michael Krasnyk
de942155bf
Add local left_hand_driving flag in API version 2
2017-10-04 10:03:42 +02:00
Frédéric Rodrigo
f36b3fb4bc
Add to car profile missing BE:motorway maxspeed_table exceptions osm-fr/osmose-backend#232
2017-09-30 22:16:51 +02:00
Frédéric Rodrigo
4ea3f33376
Add to car profile missing DK:rural maxspeed_table exceptions osm-fr/osmose-backend#174 ( #4488 )
2017-09-08 11:36:06 -07:00
Patrick Niklaus
d09f5c0e3a
Avoid -> Exclude
2017-08-21 13:00:12 +02:00
Patrick Niklaus
c6be2e768a
Throw an error for invalid classes
2017-08-21 13:00:12 +02:00
Patrick Niklaus
9c11197768
Extract avoidable combinations from profiles into ProfileProperties
2017-08-21 13:00:12 +02:00
Frédéric Rodrigo
20a77f6d51
Car Profile. Remove the non common use barrier=checkpoint as the right tag is military=checkpoint and does not need to be whitelisted. #4405
2017-08-17 14:27:04 +02:00
Daniel J. Hofmann
64e4b7eaa0
Introduces a construction whitelist in profiles
2017-07-19 16:24:45 +00:00
Daniel J. Hofmann
48824c4c8a
Normalizes spaces in profiles
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
6a555a477b
Discards construction and proposed ways, resolves #4230
2017-07-10 10:34:20 +02:00
Daniel J. Hofmann
54ceb05420
Implements Alternatives for MLD
2017-07-07 16:12:46 +00: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
8a404ea850
Use correctly traffic light penalty for no_turn turns
2017-07-03 13:43:13 +02: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
Daniel J. Hofmann
a971c2ef37
Applies max turn weight for turns onto restricted weights: no need for custom penalty
2017-05-18 16:33:50 +00:00
Daniel J. Hofmann
c757f70b97
Prevents possible overflow in applying a turn penalty onto restricted roads
2017-05-18 16:33:50 +00:00
Frederik Ramm
16f492026a
remove penalty_table from car.lua
...
remove penalty_table as it is apparently not used anywhere.
2017-05-16 10:40:21 +00:00
Patrick Niklaus
9974b8b1da
Apply traffic light penalty also for non-turns
2017-04-20 13:52:13 +00:00
Patrick Niklaus
596890a0f4
Fix spelling of access=customer_s_ and add to the restricted list way whitelisted highways
2017-03-06 16:14:26 +00:00
Patrick Niklaus
cc3a4899a2
Only allow restricted access for road of certain highway type
2017-03-03 16:03:41 +00:00
karenzshea
8e43c8cbce
add restricted penalty on NoTurn turns
2017-03-02 14:55:52 +00:00
yuryleb
b59295e55e
Restored pre-fetching bridge tags
...
Restored bridge tags but as optional way data; highway or route tags
must be always
2017-02-23 22:35:15 +00:00
yuryleb
544e54894f
Excluded 'bridge=*' from all profiles
...
This commit fixes issue #3588 "OSRM uses man_made=bridge lines to
route?" with exclusion of 'brigde' tag analisys from all profiles to
disable routing on bridges countours (with no highway tags)
2017-02-23 22:35:15 +00:00
karenzshea
c2727f2029
expose data about turning onto restricted roads to turn function
2017-02-20 12:40:51 +00:00
Daniel Patterson
73ce44028f
Allow routing on toll roads by default ( #3712 )
2017-02-14 15:20:10 -08:00
Patrick Niklaus
2e6428e917
Fix HOV lane support with penalties
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
Michael Krasnyk
9e5d45d86a
Added 'distance' weight to car profile
2017-02-03 18:59:00 +00:00
Emil Tin
97c0a74c04
factor out common lua code to helper files
2017-02-01 16:50:18 +01: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
Daniel J. Hofmann
949d505783
Removes access_restricted flag internally
2016-12-05 14:15:47 +01:00
Emil Tin
d11927046f
car profile: remove use of is_access_restricted flag
2016-12-05 14:15:47 +01:00
Emil Tin
9461c83511
car profile: handle forward/backward access
2016-12-05 14:15:47 +01:00
Emil Tin
532cbfce13
profiles: Directional helper, some car refactoring
2016-12-05 14:15:47 +01:00
Daniel J. Hofmann
fe5cc55b0e
support junction = circular in all profiles, add additional tests
...
References:
- https://wiki.openstreetmap.org/wiki/Tag:junction%3Dcircular
- https://lists.openstreetmap.org/pipermail/tagging/2016-November/030520.html
- https://github.com/Project-OSRM/osrm-backend/issues/3361
2016-11-29 13:44:32 +01:00
Moritz Kobitzsch
12d58ace10
add support for junction=circular, allowing named circular junctions to be treated as rotaries
2016-11-29 13:44:32 +01:00
Emil Tin
305e813489
lua: improve naming
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
f90736b6b3
lua: handle_hov()
2016-11-18 00:21:34 +01:00
Emil Tin
9aeb3086cb
lua: cleanup handle_blocking(), move common cases up early
2016-11-18 00:21:34 +01:00
Emil Tin
9e361a8178
lua: exit earlier when possible
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
50090e6447
lua: some cleanup
2016-11-18 00:21:34 +01:00