I have a route between generated by osrm between 2 locations. The route changed when updating from OSRM 4.9.O to 5.3.3.

I wanted to compare the response from:

http://localhost:5000/route/v1/driving/4.325217,50.901073;4.422702,51.191058?          steps=true&alternatives=false&annotations=true

However the datasources , weight and speed attributes are missing.

Is there a better way to find out why a route changed?

asked 16 Apr, 11:01

pro_kiwi's gravatar image

pro_kiwi
2113
accept rate: 0%

edited 16 Apr, 11:03


OSRM has significantly changed between 4.9.0 and 5.3.3. In particular, the "profiles" which assign different speeds/weightings to each section of road have changed. This means that the newer version will calculate different journey times for each road, and may therefore choose a different route because it now reckons it's faster.

You can see changes made to the profiles here: https://github.com/Project-OSRM/osrm-backend/commits/master/profiles

permanent link

answered 16 Apr, 11:05

Richard's gravatar image

Richard ♦
29.0k40257388
accept rate: 19%

Your answer
toggle preview

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:

×269
×62

question asked: 16 Apr, 11:01

question was seen: 264 times

last updated: 16 Apr, 11:05

powered by OSQA