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
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
DennisOSRM
ca64887cba
Partially implements #569 , thx @lonvia
2013-03-03 18:26:29 +01: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
Dennis Luxen
1a442c36e9
Implementing #566
2013-02-10 15:05:31 +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
DennisOSRM
91baa9dfd7
Merge completed
2013-02-04 13:05:05 +01:00
DennisOSRM
572b176401
Fixes issue #579
2013-02-04 12:13:30 +01:00
Emil Tin
97f1dc0749
update maxspeed tests, remove maxspeed from foot profile
2013-02-04 11:30:46 +01:00
Emil Tin
dd5d520b53
update profile and tests for pushing of bikes
2013-02-03 14:46:18 +01:00
DennisOSRM
adf0c726ef
Further changes to duration handling
2013-01-30 14:03:21 +01:00
DennisOSRM
9db884f371
Fixing duration parsing
2013-01-30 13:46:20 +01:00
DennisOSRM
e0c211085c
Handle route=shuttle_train again
2013-01-29 17:36:28 +01:00
DennisOSRM
a92950d234
Fixes how durations are parsed
2013-01-27 23:01:37 +01:00
DennisOSRM
62cc8f456c
Rebasing branch on develop
2013-01-27 14:49:47 +01:00
DennisOSRM
6317b08090
Fixing test cases to check for different speeds in opposite direction
2013-01-27 14:36:57 +01:00
Emil Tin
aae0547cca
better testbot maxspeed handling, fix test
2013-01-27 14:36:56 +01:00
Emil Tin
4f9c422e2f
test maxspeed forward/backward
2013-01-27 14:36:56 +01:00
DennisOSRM
7b4b7232fc
Fixing test for opposite directions
2013-01-27 14:36:56 +01:00
Emil Tin
43bb53e789
better testbot maxspeed handling, fix test
2013-01-19 16:00:44 +01:00
Emil Tin
384be58230
test maxspeed forward/backward
2013-01-19 13:10:11 +01:00
DennisOSRM
7f311551dd
Fixing test for opposite directions
2013-01-18 19:01:36 +01:00
DennisOSRM
64988ed831
Adding functionality for turn restriction exceptions to profile
2013-01-05 17:32:39 +01:00
Project OSRM
d2458f3169
Merge pull request #550 from ibikecph/lua_require
...
easy lua require()
2013-01-05 03:03:13 -08:00
DennisOSRM
4ac5440a4a
Removing debug output
2013-01-04 12:49:31 +01:00
DennisOSRM
7c54d4e62f
Fixes the Birminingham speed limit bug reported by Philip Barnes
2013-01-04 12:31:43 +01:00
Emil Tin
09e331a76b
fix gitignore to avoid ignoring subfolders. add missing lua file
2012-12-28 22:40:00 +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
DennisOSRM
1e7a5e881e
Fixing typo. Thanks franzmh
2012-12-18 11:12:17 +01:00
Emil Tin
b182cd1fa4
test bikes & public_transport stop_area relations
2012-12-03 11:06:25 +01:00
DennisOSRM
6f8148950e
Speeding up parsing of car profile by about 30%
2012-11-12 17:00:36 +01:00
DennisOSRM
a82c9d55b3
Merge branch 'develop' of https://github.com/DennisOSRM/Project-OSRM into develop
2012-11-12 11:01:03 +01:00
Emil Tin
7493d8aa49
test ferry duration on part of route
2012-11-04 14:00:21 +01:00
DennisOSRM
2c61d0a79e
Moving more functions into LUA
2012-11-03 08:19:01 +01:00
DennisOSRM
10cf41d138
Fixes issue #493
2012-11-02 09:10:19 +01:00
DennisOSRM
f4fd9dbd38
Fixes issue #489
2012-10-29 13:32:34 +01:00
Emil Tin
9dd45cceab
fix invalid ref to numberOfSegments in foot profile
2012-10-26 13:12:52 +02: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
DennisOSRM
dc86007fa9
Removing man_mades=* from being routable
2012-10-11 16:35:14 +02:00
DennisOSRM
64d14da0fa
allowing access tags on unknown highways
2012-10-11 10:01:54 +02:00
Emil Tin
c83ab666d7
bringing bikes on trains
2012-10-10 18:25:15 +02:00
DennisOSRM
c0287c0f2f
Car profile does only route on known ways
2012-10-08 12:05:49 +02:00
Dennis Luxen
c5b1cea58e
removing default naming of unnamed streets
2012-10-06 15:01:26 +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
DennisOSRM
bcddc10b6b
Updateing how the access hierarchy is parsed in the car profile. Thx
...
@EmilTin
2012-10-04 14:18:39 +02:00
Emil Tin
8e6b7766a1
parse access tag hierachy in bike profile
2012-10-04 08:36:14 +02:00
Emil Tin
c1a08af00d
revert changes to car profile
2012-10-04 08:33:52 +02:00
Emil Tin
4b00557fda
better handling of access and barrier tags
2012-10-03 19:14:44 +02:00
DennisOSRM
17ca6b1e07
implementing #463
2012-10-02 19:11:43 +02:00
Emil Tin
66ff69355d
use way type for unnamed strets in car profile
2012-10-02 16:08:50 +02:00
Emil Tin
1ad274ed2e
more reorganizing of tests
2012-10-01 13:33:47 +02:00
Emil Tin
d4352b84ac
reorganizating tests into car/bike/foot
2012-10-01 12:36:06 +02:00