-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
speed on highway=path #318
Comments
it might be using the default speed? what's it set to in your profile? |
defaultSpeed = 12 |
That path has a maxspeed:bicycle=5 set. Could be that the "problem"? |
it's possible that osrm incorrectly uses maxspeed:bicycle? |
Emiltin, why did you write "incorrectly"? I'm using a bicycle speedprofile, so I'd expect OSRM to use the maxspeed:bicycle value. |
well, if you're not legally allowed to move faster than 5km/h, then perhaps the route is really not that attractive? anyways, if you're using a bike profile, then maxspeed:bicycle will be used - unless you set takeMinimumOfSpeeds=no in your speedprofile (if i understand it correctly, i find this feature a bit confusing). check the code in ExtrractorCallbacks.h around line 200. |
Il 07/04/2012 07:56 AM, Emil Tin scrisse:
In theory you're right, in practice:
I already tried to set takeMinimumOfSpeeds=no to no avail. Thanks |
all this will change when the new LUA-based parsing system is implemented. it will provide a more flexible way to handle tags. |
Not sure what the problem here is. Flagging it as duplicate to #1. |
I'm trying to force osrm to use highway=path.
In speedprofile I put a line with
path=30
I'm using the latest version of osrm downloadable from github:
DennisOSRM-Project-OSRM-bddac87
I tried a very simple route with start and target on the same way with highway= path and I get:
{"version": 0.3,"status":0,"status_message": "Found route between points","route_geometry": "k_qtGsg_w@l@rAbBpBn@hB","route_instructions": [["10","Viale Cervantes",159,0,0,"159m","S",172.46],["15","",0,3,0,"","N",0.0]],"route_summary": {"total_distance":160,"total_time":97,"start_point":"Viale Cervantes","end_point":"Viale Cervantes"},"via_points":[],"hint_data": {"checksum":-1967517059, "locations": ["A50BAO4NAAAgAAAARAAAAO-bGd4s7tQ_BmRFAIoADgC", "vyYAAO4NAABgAAAAAAAAAAAAAAAAAPA_pWNFAPL_DQB"]},"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}
The average speed of the trip is 5.94 km/h.
Are there any rules applied when travelling through a path?
thank you
maxx
The text was updated successfully, but these errors were encountered: