railnova / osrm-train-profile

A train profile for OSRM
BSD 2-Clause "Simplified" License
24 stars 17 forks source link

uses freight.lua by default without documentation that it does #21

Open joleeee opened 3 months ago

joleeee commented 3 months ago

I found that for some rail stretches, the speed is completely wrong. For instance, this stretch (Oslo towards Lillestrøm) takes about 10 minutes, but it is shown as more than an hour.

image

For each additional km to the right along the line, it adds about 13min, so its going ~4-5km/h.

I also found it routing a longer way on Oslo-Trondheim, and if i force it through the actual path taken by commercial rail, it takes ~12h according to OSRM, while in reality it's more like 7h.

joleeee commented 3 months ago

Is it using the freight profile by default?

image
joleeee commented 3 months ago

mv basic.lua freight.lua and restart fixed it

image