Lauren Budorick
bac6703f8e
Implement raster source feature to read data from third-party sources, to be used in lua profiles.
...
* Adds a data structure, RasterSource, to store parsed + queryable data
* Adds bindings for that and relevant data structures as well as source_function and segment_function
* Adds relevant unit tests and cucumber tests
* Bring-your-own-data feature
2015-09-03 22:28:18 -07:00
Daniel J. Hofmann
6cbbd1e5a1
Move destination to access tag white list instead of making exception in car profile.
...
Tested with:
cucumber --tags @access -p verify
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1617
- https://github.com/Project-OSRM/osrm-backend/pull/1639
2015-09-03 17:46:20 +02:00
Daniel J. Hofmann
b6ef558c86
Make pedestrian roads marked as destination routable with car profile.
...
Check provided tests with:
cucumber --tags @access -p verify
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1617
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian
- http://wiki.openstreetmap.org/wiki/Key:motorcar
- http://wiki.openstreetmap.org/wiki/Key:access
2015-09-03 17:46:20 +02:00
Daniel Patterson
b3822d5802
Enable turn penalties on car profile, using values tuned by comparing real-world sample routes with map-matched routes.
2015-09-03 17:01:11 +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
db30836b53
Add rising bollard exception to barriers for car profile.
...
This handles `barrier=bollard` with `bollard=rising`, by making an
exception to the barrier whitelist. Barriers tagged as such do no longer
require an explicit access tag.
This also adds corresponding tests, check this out:
cucumber --tags @barrier
References:
- http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard
- http://wiki.openstreetmap.org/wiki/Key:bollard
- https://github.com/Project-OSRM/osrm-backend/issues/1616
2015-08-25 14:52:45 +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
Patrick Niklaus
4b4bc0dde2
Fix postgis lua example
...
Fixes #1573 .
2015-08-12 13:02:18 +02:00
Patrick Niklaus
486d7b6d62
Fix typo in foot profile that removed traffic lights
2015-07-09 21:24:07 +02:00
Patrick Niklaus
faa880d60a
Remove unused memebers and rename to currrent style convention
2015-07-01 18:07:29 +02:00
Patrick Niklaus
8a2652f53d
Only penaltize bidirectional ways if they have 1 lane
2015-06-27 16:26:18 +02:00
Patrick Niklaus
86df55f5cc
Add penalty if there is only one lane for both directions
2015-06-18 17:31:49 +02:00
Lauren Budorick
eec4f173a7
Fix tag misspellings in profiles + tests: forestry, pebblestone
2015-06-09 20:16:58 -07:00
Patrick Niklaus
d85e5def5d
Add running tracks to foot profile
2015-06-01 11:20:17 +02:00
Patrick Niklaus
0aba499c8e
Use spaces instead of tabs
2015-06-01 11:20:17 +02:00
Patrick Niklaus
4e57e10ba8
Use 'name (ref)' if both are present
2015-06-01 11:19:27 +02: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
11bdfba37e
traffic signal penalty ignored on white-listed barriers, cf. #1365
2015-04-13 09:47:12 +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
dd5f926077
respect capacity:car for movable bridges in car profile
2015-02-26 16:22:18 +01:00
Dennis Luxen
845020b0e2
remove debug output
2015-02-26 16:17:42 +01:00
Dennis Luxen
645e3ccbb3
add movable bridge support to the car profile. Implements #1399
2015-02-26 14:56:01 +01:00
Dennis Luxen
b89c7580e6
implement scaling for narrow roads as an alternative expected speed and take the minimum. Follows @emiltin's idea.
2015-02-20 10:33:14 +01:00
Dennis Luxen
a85fe2cb08
remove debug output, thx @emiltin
2015-02-20 10:33:14 +01:00
Dennis Luxen
4c4c126361
implements a penalty for very narrow road:
...
- implements discussion of #1388
- implements basic test cases
2015-02-20 10:33:14 +01:00
Dennis Luxen
7e70fa63d7
Merge pull request #1338 from frodrigo/develop
...
Black list access=psv for car profile
2015-01-09 23:39:49 +01:00
Dennis Luxen
bea4b520c0
Revert "Revert "fix #1255 assume lift gates are passable""
...
This reverts commit cec3d1488a
.
*sigh*
2015-01-09 19:15:00 +01:00
Frederic Rodrigo
26f7ac9ca1
Black list access=psv for car profile
2015-01-09 17:14:16 +00:00
Dennis Luxen
725b93a961
Merge branch 'develop'
2015-01-06 11:03:29 +01:00
Dennis Luxen
47a2271e27
copy edits:
2014-12-23 11:30:45 +01:00
Dennis Luxen
40ff7ad999
update speed profile from external calibration data
2014-12-17 11:02: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
16631bf454
port track smoothness to new parsing
2014-11-17 14:58:38 +01:00
Dennis Luxen
b131f27eb9
use_turn_restrictions as global in car profile
2014-11-17 14:58:38 +01:00
Dennis Luxen
d79eac3e26
port foot profile
2014-11-17 14:58:34 +01:00
Dennis Luxen
27c255c874
port bicycle profile
2014-11-17 14:58:34 +01:00
Dennis Luxen
4cddf0bf5d
replace explicit value fetching with wrapper call
2014-11-17 14:58:34 +01:00
Dennis Luxen
462d4c99cc
port testbot profile
2014-11-17 14:58:34 +01:00
Dennis Luxen
ebcdcb5f00
port car profile
2014-11-17 14:58:33 +01:00
Dennis Luxen
cec3d1488a
Revert "fix #1255 assume lift gates are passable"
2014-11-13 14:23:54 +01:00
AlanBell
8f804581c0
fix #1255 assume lift gates are passable
...
lift gates are commonly found on industrial parks or businesses, delivery drivers need to route to these, most gates are permissive and open in daytime, this patch won't route through gates where access is specifically no.
2014-11-07 10:29:25 +00:00
Dennis Luxen
a443f3a0bb
add barrier checkpoint to the white list of passable tags
2014-10-10 10:34:34 +02:00
Emil Tin
fe43734811
use nil for unlimited surface speeds
2014-10-07 13:50:53 +02:00
Emil Tin
0df81c49d5
surface, tracktype, smoothness tags in car profile
2014-10-07 10:43:47 +02:00
Dennis Luxen
5653516b32
traverse *_link roads at a significantly lower speed than the main link, fixes #1174
2014-10-06 13:42:30 +02:00
Frédéric Rodrigo
6b98b5f4c7
Parse maxspeed value like FR:urban on car profile
2014-10-04 14:12:14 +02:00
Dennis Luxen
6a09ce1613
fix comparison in car speed profile
2014-08-21 12:17:03 +02: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
6ee7a81f10
update foot profile, add ferry mode
2014-08-20 11:08:58 +02:00
Emil Tin
3d94638d86
update car profile, add ferry mode
2014-08-20 11:08:58 +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
6d6d299ea4
most tests passing
2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd
first cut at porting travel mode, some tests fail
2014-08-20 11:08:41 +02:00
Dennis Luxen
1508874ebc
return early if way is not either highway=* or route=* in car profile. Estimated cost saving 10%
2014-07-24 18:00:37 +02:00
Emil Tin
bddad0c57c
add test for roundabout with oneone links
2014-05-20 13:27:32 +02:00
Dennis Luxen
3c5b2286a3
adjust speeds to universally use 4/5th of the free-flow speed as expected avg speed
...
- this is a workaround until we get more thourough work done on the cost model
- this is related to #955 and #989
2014-05-09 11:11:14 +02:00
Dennis Luxen
241d6b482e
reenable traffic signal penalty in car profile
2014-04-28 17:26:31 +02:00
Dennis Luxen
0eed39cdf1
rebase branch onto develop
2014-04-24 18:13:50 +02:00
Dennis Luxen
48d23194af
fix traffic signal penalty in compressed graph
2014-04-24 12:55:52 +02:00
Dennis Luxen
985270bb02
parse maxspeed in LUA
2014-04-24 12:51:16 +02:00
Dennis Luxen
ba0b664e3f
further copy edits
2014-04-24 12:05:43 +02:00
Emil Tin
762dd17512
cleanup indentation of lua profiles
2014-04-01 15:40:52 +02:00
Emil Tin
fd96c7c488
fix travel speeds for cars
2014-03-27 18:22:04 +01:00
Dennis Luxen
85a007d87b
set backward speed properly, partially fixes #936
2014-03-03 15:31:57 +01:00
Dennis Luxen
9e64ccdbf2
scale maxspeeds to 2/3 to be more realistic and in sync with the default profile
2014-02-14 18:17:37 +01:00
Dennis Luxen
e949677c48
fixes #808
2013-12-08 15:52:23 +01:00
Dennis Luxen
b545d60453
temporarily fixes #811 plus 16 others
2013-12-08 15:52:22 +01:00
Dennis Luxen
99e9d0d023
ignore impassable ways, requested by HOT
2013-11-18 16:54:52 +01:00
Dennis Luxen
115ae21f1f
implements #733
2013-11-08 08:56:03 -05:00
Emil Tin
67c5e3966a
fix some indentation and spelling
2013-10-18 18:33:56 +02:00
Emil Tin
aa0927911d
example showing use of PostGIS data
2013-10-18 18:24:13 +02:00
Emil Tin
47f11fc3a6
bike: normal speed on paths with asphalt, add tests
2013-09-12 14:15:50 +02:00
Emil Tin
0f94fb9d6d
update foot profile, add tests for access, barriers, ferries, names, surface, more
2013-09-08 22:51:44 +02:00
Dennis Luxen
a25e4e1ed8
Fixes #737
2013-09-07 11:16:45 +02:00
Dennis Luxen
fdbeb951eb
Fixes #655
2013-08-19 17:36:15 +02:00
Dennis Luxen
dabc9589e9
fix type in car profile
2013-08-19 13:56:57 +02:00
Dennis Luxen
b584ba9149
removing super-flous returns in car profile
2013-08-16 17:10:02 +02:00
Dennis Luxen
aeba3aa209
fixes #695 for bike profile
2013-08-12 18:00:56 +02:00
Dennis Luxen
32c7578629
fixes #695 , maxspeed:forward incorrectly made any way routable
2013-08-12 13:19:07 +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
DennisOSRM
d2e68068bf
fixes #659
2013-07-17 16:23:57 +02:00
DennisOSRM
9ab86ae2bf
Fixes issue #663
2013-07-09 14:08:24 +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