Daniel J. Hofmann
ef2261661c
Remove {highway: type} fallback from bike / walk profile, fixes #3231
...
References:
- https://github.com/Project-OSRM/osrm-text-instructions/issues/62#issuecomment-257889721
- https://github.com/Project-OSRM/osrm-text-instructions/pull/63
2016-11-08 14:28:56 +01:00
Kajari Ghosh
c30f43b148
added max_speed to the profiles ( #3089 )
2016-11-01 17:13:10 -04: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
Daniel J. Hofmann
bbbbacb073
Reworks Restriction Whitelist / Blacklist, resolves #2833
...
Takes a stricter aproach for whitelisting / blacklisting restrictions:
- uses `restriction=`
- uses more specific `restriction:<type>=`
- uses `except=<type>` to invert
Where `type` is the type of transportation to restrict, e.g. `motorcar`.
https://github.com/Project-OSRM/osrm-backend/issues/2833
2016-09-28 09:35:02 +02:00
karenzshea
dcc1b5ab2b
return name and reference separately
2016-09-08 14:28:23 +02:00
Patrick Niklaus
6ff07f4e82
State all turn penalties in seconds
2016-08-29 13:54:56 +02:00
Moritz Kobitzsch
1fc63e1e72
move hardcoded road priorities into profiles, change road classification
2016-07-25 13:07:54 +02:00
Emil Tin
d21a9a514d
bike: surface should never increase speed
2016-06-25 12:52:54 +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
4ad78309e2
Revert "Set speeds for mini roundabouts in car and bike profile"
...
This reverts commit a85f39c140
.
2016-06-02 15:00:47 +02:00
Daniel J. Hofmann
c490752ca7
highway=motorway_link does not imply oneway, fixes #1662
...
References:
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link#Tagging_oneway
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway
2016-06-02 13:05:50 +02:00
Daniel J. Hofmann
a85f39c140
Set speeds for mini roundabouts in car and bike profile
2016-06-01 20:17:48 +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
c30f69d6e9
Fix breaking test uncovered by this fix
2016-05-26 22:34:39 +02:00
Daniel J. Hofmann
f0069d3dcc
Makes bicycle and foot profile's name and ref tag handling consistent with car profile
2016-05-03 00:09:17 +02:00
karenzshea
6e04da9f8f
remove movable bridge refs in bike profile
2016-04-19 14:24:16 -04: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
3ee8b655ea
Prevents routing over delivery ways and nodes; closes #2150 .
2016-04-04 14:00:54 +02:00
Daniel J. Hofmann
c70d138eb9
Spelling: Hierachy vs Hierarchy
2016-04-04 13:58:55 +02:00
Patrick Niklaus
c27fc4e4d8
Add comments to profiles about uturn
2015-12-18 15:54:33 +01:00
Moritz Kobitzsch
a37192c102
alignment
2015-12-18 12:28:03 +01:00
Moritz Kobitzsch
68bd6a29b6
modified local state of u_turn_penalty_variable
2015-12-18 12:25:46 +01:00
Patrick Niklaus
7015ed203a
Don't count ferries as public transportation
2015-10-06 11:13:39 +02:00
Daniel J. Hofmann
345d5e8d9e
Make an exception for block barriers in bicycle and foot profile.
...
This adds `barrier=block` exceptions to the respective white lists.
In addition this adds tests to check for the exception in bicycle and
foot profiles and makes sure cars are still not able to cross them.
Checked with:
cucumber --tags @barrier -p verify
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1643
- http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock
2015-09-07 12:23:21 +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
Daniel J. Hofmann
3e8ef5e462
Remove unused obey_bollards
from profiles, already handled via barrier_whitelist
.
2015-08-25 14:24:43 +02:00
Lauren Budorick
eec4f173a7
Fix tag misspellings in profiles + tests: forestry, pebblestone
2015-06-09 20:16:58 -07:00
Patrick Niklaus
7d73501b87
Update bicycle profile to ignore crossing nodes
2015-05-30 19:26:56 +02:00
Patrick Niklaus
074c7a9c40
Fix access module
2015-05-17 17:26:10 +02:00
Patrick Niklaus
de2f06970d
Fix missing values and activate fallback names by default
2015-05-16 14:39:49 +02:00
Patrick Niklaus
6166d946f7
Fix access tag check
2015-05-16 14:39:49 +02:00
Patrick Niklaus
c778ab9622
Make bicycle profile backwards compatible
2015-05-16 14:39:49 +02:00
Patrick Niklaus
aad846b968
Fix call to function and transportation if clause
2015-05-16 14:39:49 +02:00
Patrick Niklaus
f04a3e3d2e
Fix bicycle profile syntax
2015-05-16 14:39:49 +02:00
Patrick Niklaus
7ad52de2b1
Cleanup the profiles
2015-05-16 14:39:49 +02:00
Lauren Budorick
566ab993df
Use lua 5.2+ without needing compatibility flags.
2015-05-15 15:02:23 +02:00
Dennis Luxen
878c49e4e1
fix incomplete implementation of movable bridges in bike profiles, plenty of regressions
2015-02-26 17:17:43 +01:00
Dennis Luxen
023dd3e880
fix regression in bike profile
2015-02-26 16:44:26 +01:00
Dennis Luxen
6b88856c16
add support for movable bridges in the biking profile, cf #1399
2015-02-26 16:28:04 +01:00
Dennis Luxen
4fce0dadcf
remove further debug output from profiles
2014-11-19 09:58:41 +01:00
Dennis Luxen
f3e3eda69e
remove debug output from bike profile
2014-11-19 09:47:23 +01:00
Dennis Luxen
27c255c874
port bicycle 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
60d80cf261
code style fixes
2014-08-20 11:08:59 +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
6f6aff7493
remove direction field from ExtractionWay
2014-08-20 11:08:58 +02:00
Emil Tin
6e1ab9fe3a
profile fixes
2014-08-20 11:08:42 +02:00
Emil Tin
235a52032a
more tests passing
2014-08-20 11:08:42 +02:00
Emil Tin
6fd615b9cd
first cut at porting travel mode, some tests fail
2014-08-20 11:08:41 +02:00
Dennis Luxen
0eed39cdf1
rebase branch onto develop
2014-04-24 18:13:50 +02:00
Dennis Luxen
985270bb02
parse maxspeed in LUA
2014-04-24 12:51:16 +02:00
Emil Tin
762dd17512
cleanup indentation of lua profiles
2014-04-01 15:40:52 +02:00
Emil Tin
47f11fc3a6
bike: normal speed on paths with asphalt, add tests
2013-09-12 14:15:50 +02:00
Dennis Luxen
aeba3aa209
fixes #695 for bike profile
2013-08-12 18:00:56 +02:00
Sven Luzar
f2b81ba86c
pull request moved to develop branch: roundabout handling from car profile moved to bike profile
2013-07-30 21:37:57 +02:00
Emil Tin
3afcd31f61
bike: use both ref&name when available
2013-04-28 11:42:21 +02:00
Emil Tin
fcdee8f5d5
handle surfaces in bike profile
2013-04-27 17:00:25 +02:00
Emil Tin
1fc11a6b06
return way type in encoded form for unnamed streets
2013-04-08 16:23:42 +02:00
Emil Tin
3516538813
remove .mode reference from bike profile
2013-04-08 11:27:12 +02:00
Emil Tin
16cd822555
mark failing name test as todo
2013-04-08 10:54:49 +02:00
Emil Tin
50f865b81c
add test for pushing bikes on footways etc
2013-04-08 10:04:17 +02:00
Emil Tin
96cd09471b
encode way types for unnamed ways in bike profile
2013-04-08 10:04:17 +02:00
Emil Tin
f9abfbf68a
compute turn penalties in lua profiles
2013-02-27 19:33:33 +01:00
DennisOSRM
53af4ee39f
Cleaning of several regressions in the parsing code.
2013-02-27 17:36:44 +01:00
Emil Tin
b051f715e6
add 'no' to barrier whitelist in bike profile
2013-02-22 15:49:44 +01:00
Emil Tin
81a05c89e4
update bike speeds
2013-02-22 15:49:44 +01:00
Emil Tin
cc55b016e9
don't push against oneway flow on roundabout. fixes #591
2013-02-22 15:49:44 +01:00
Emil Tin
313b93169d
turn off turn restrictions for bicycle and foot, update tests
2013-02-22 15:49:44 +01:00
Emil Tin
22c5c539c2
default to using turn restrictions
2013-02-22 15:49:43 +01:00
Emil Tin
d59e526e1e
lua setting for using turn restrictions
2013-02-22 15:49:43 +01:00
Emil Tin
a4e322f085
don't allow bikes on highway=construction, fixes #582
2013-02-06 16:58:18 +01:00
DennisOSRM
348e656671
Merge branch 'feature/opposite_direction' into develop
2013-02-04 18:38:15 +01:00
DennisOSRM
54cdf6d6f2
maxspeed:forward and :backward get parsed and tests pass. Implements
...
#569 partially.
2013-02-04 15:58:35 +01:00
Emil Tin
dd5d520b53
update profile and tests for pushing of bikes
2013-02-03 14:46:18 +01:00
DennisOSRM
a92950d234
Fixes how durations are parsed
2013-01-27 23:01:37 +01:00
DennisOSRM
64988ed831
Adding functionality for turn restriction exceptions to profile
2013-01-05 17:32:39 +01:00
Emil Tin
ce43b09991
support lua require()
2012-12-28 22:40:00 +01:00
Emil Tin
d4db5cca1c
fixing typo in forestry access
2012-12-23 19:32:26 +01:00
Emil Tin
b182cd1fa4
test bikes & public_transport stop_area relations
2012-12-03 11:06:25 +01:00
DennisOSRM
10cf41d138
Fixes issue #493
2012-11-02 09:10:19 +01:00
Emil Tin
57dc1e03b1
bikes, handle parking areas and train platforms
2012-10-20 12:03:36 +02:00
Emil Tin
f40550b18c
bike speeds on pedestrian areas
2012-10-11 16:52:14 +02:00
Emil Tin
c83ab666d7
bringing bikes on trains
2012-10-10 18:25:15 +02:00
Emil Tin
b95596d6b7
test for empty highway tag
2012-10-05 15:52:44 +02:00
Emil Tin
2a89aeecd8
handle cycleway tags
2012-10-05 12:09:03 +02:00
Emil Tin
8e6b7766a1
parse access tag hierachy in bike profile
2012-10-04 08:36:14 +02:00
Emil Tin
4b00557fda
better handling of access and barrier tags
2012-10-03 19:14:44 +02:00
Emil Tin
d4352b84ac
reorganizating tests into car/bike/foot
2012-10-01 12:36:06 +02:00
DennisOSRM
0d087fcbce
Fixes failing cucumber test features/ferry.feature:4
...
Scenario: Use a ferry route
2012-09-27 13:49:49 +02:00
Emil Tin
3c903ddffd
clean up duplicated lua profiles
2012-09-27 11:35:56 +02:00