valhalla icon indicating copy to clipboard operation
valhalla copied to clipboard

Fragmented routes

Open csotiMatyas opened this issue 1 year ago • 5 comments

Hello, I have a set of gps coordinates from a phone and i want to match them to a road network.

The points are collected at around 10seconds

I'm hitting the /trace_route endpoint with the following data

costing: 'auto',
shape_match: 'map_snap',
shape: list of { lat
lon
type
time
heading
radius: 15
},

( Valhalla is comically faster than OSRM, i read everywhere that its the other way around )

What am i doing wrong?

The generated routes, if very long, are very fragmented, its not able to connect bigger gaps, where there are missing coordinates, and the generated route doesnt start or end where the first and last coordinates are:

Valhalla valhalla-gaps

OSRM osrm-gaps

Valhalla start today-valhalla-start

OSRM start today-osrm-poc-start

Valhalla gap today-valhalla-600ms

OSRM gap today-osrm-poc

csotiMatyas avatar Jun 26 '24 08:06 csotiMatyas