NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I was able to follow the OSRM instructions to extract, prepare and route OSM data for both North-America (Geofabric.de extract) as well as the full planet download from osm.org. For both I used the supplied car.lua profile.

Now I am trying to modify the profile (and re-preocess the data) in order to assign a higher than normal cost to bridges, tunnels and ferries. I am having a hard time finding any instructions related to profile customization.

Any help is highly appreciated! Thanks in advance!

asked 19 Oct '15, 21:11

udoh's gravatar image

udoh
56114
accept rate: 0%


You're right. Documentation on Profiles seemed to be missing ...so I've just created it! :

https://github.com/Project-OSRM/osrm-backend/wiki/Profiles

I've only been playing with OSRM for a couple of days, so I'm not the most qualified person to be writing the documentation, but hopefully others will jump on this and expand the details.

I'm afraid it doesn't detail how to "assign higher than normal cost to bridges" (not yet) but it might give you some ideas.

permanent link

answered 03 Dec '15, 18:11

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

1

Thank you very much for your answer and for posting the profile instructions on the wiki!! At the moment I am still using the data prepared using the car.lua profile and I haven't looked into this for a while. This will definitely be helpful when I go back to reprocess with a customized profile. Thanks again!

(03 Dec '15, 18:51) udoh

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×85
×3

question asked: 19 Oct '15, 21:11

question was seen: 11,407 times

last updated: 03 Dec '15, 18:51

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum