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

Hi all,

I am experimenting with the "Open Source Routing Machine" (OSRM) and it's profiles. Currently I am facing a phenomenom I discovered running OSRM via docker in my custom setup: A route changes noticeably if the weight of the vehicle is changed in the car.lua profile.

So I think that somewhere in the route there must be a node/way/relation with restrictions of weigth, which causes the discrepancy. How can I search for weight restrictions in a route? Or does anyone has a alternative explanation for the discrepancy?

The affected route starts in Burghasungen and ends in Melsungen. Both locations are cities in Hessen, Germany. Using the OSM routing service with default car.lua you can see the route here: https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=51.3246%2C9.2777%3B51.1298%2C9.5437#map=10/51.2391/9.1763

In my setup the discrepancy looks like this: alt text

Even with the weight of 6000 kg I would expect the route to continue up to the end of A44 and not to leave the A44 premature (A44 should be tagged highway=motorway).

I case you wonder what my motivation is: Actually I would like to use a profile called "truck soft", which can be found here. This truck profile uses car.lua as default and changes different aspects. But using this truck profile I discovered the above described discrepancy. Thus I stepped back, took the default car.lua and tried to applied the changes one after another. By this I found out, that only changing the "vehicle_weight" (leaving the rest untouched!) leads to the differing route. The data I used is the sub region Hessen kindly provided by Geofabrik. Interesting additional detail: Using an older dataset, which is round about 4,5 years old, the route does not change on different weights.

Thanks and greetings, rebos

asked 11 Apr '21, 16:02

osmrebos's gravatar image

osmrebos
11113
accept rate: 0%


Maxweight of way 34287495 and a few other ways on the eastbound carriageway appear to be tagged as 3.5, with the default unit being metric tonnes. Changeset 70382652 also has the comment "A44 gesperrt 3,5 ton " so I assume this is not accidental.

Found via an overpass turbo query on the maxweight tag.

As always, please be sure to check on site, or with very recent street level imagery before making any changes to the mapped data.

permanent link

answered 11 Apr '21, 17:59

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

2

My curiosity got the better of me: here's an article about the change.

(11 Apr '21, 18:05) InsertUser

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
×16
×1
×1
×1

question asked: 11 Apr '21, 16:02

question was seen: 2,358 times

last updated: 11 Apr '21, 18:06

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