[OSRM-talk] edge weights different than time

Daniel Patterson daniel at mapbox.com
Tue Mar 8 18:15:52 UTC 2016

Hi Christian,

  One the oldest tickets:  

    https://github.com/Project-OSRM/osrm-backend/issues/77 <https://github.com/Project-OSRM/osrm-backend/issues/77>

  is all about this.  Your observation is correct, there is currently no separation
  between durations and "routing weight".  We've been discussing implementing
  this recently (at Mapbox), but no definite plans yet.  It will increase the
  memory usage.

  If you take your second option, you can consider encoding the extra metadata
  you need in the "name" attribute, and split it out again when you receive your
  route results.  Note that OSRM emits a turn instruction every time the "name" changes,
  so you'd need to cater for that if you're displaying turn-by-turn instructions to users.


> On Mar 8, 2016, at 10:05 AM, Christian Helbling <helbling at search.ch> wrote:
> Hello
> I'm about to write a bicycle route planner and I'd like to use OSRM for that.
> However, there are some things I don't understand yet.
> From what I read in the code and documentation it seems that OSRM optimizes by speed/time only.
> What I would like to do in my config is to have a penalty on big roads but still have a normal
> speed there when it is used anyway (for lack of alternative).
> Is such a config possible?
> And if so, how would I do that?
> If it's not, then i'm tempted to run OSRM with fake speeds representing the actual speeds plus penalties.
> Then when I got the result I would go through the result and recalculate the actual time needed.
> For that I would need to have access to some properties (road type, elevation data, ..) when I get the result.
> Is it possible to pipe additional data through OSRM?
> Elevation data would be interesting in particular as I need that to draw an elevation profile anyway.
> Thanks in advance
> Christian
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20160308/45f085b1/attachment.html>

More information about the OSRM-talk mailing list