Issues with foot.lua profile

I am having a problem with the foot.lua profile developing spurious trails.
Sample query is

http://localhost:5000/route/v1/walking/173.396700,-41.209513;173.382662,-41.212842?alternatives=false&overview=full&geometries=polyline6&steps=true

The profile is from git source.
Downloaded new-zealand-latest.osm.pbf. And set up two osrm data trees

new-zealand/car
new-zealand/foot
cd car
osrm-extract -p /opt/osrm/car.opt new-zealand-latest.osm.pbf
osrm-partition new-zealand-latest.osrm
osrm-customize new-zealand-latest.osrm
cd …/foot
osrm-extract -p /opt/osrm/foot.opt new-zealand-latest.osm.pbf
osrm-partition new-zealand-latest.osrm
osrm-customize new-zealand-latest.osrm

If i run

osrm-routed -a MLD car/new-zealand-latest

the trail draws correctly

If i run

osrm-routed -a MLD foot/new-zealand-latest

the trail draws garbage

It appears that routed is trying to avoid the road “SH 6” (state highway 6). I have enable debug on osrm-routed but it reports nothing. What can I do to diagnose the creation of the dataset.
I have no issues with a dataset for Australia foot trails.
Cheers


bad

6 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/issues-with-foot-lua-profile/103765