Hey there,
I am using Graphhopper and I did build my own endpoint for map-matching (I have a different coordinate layout)
Everything basically works fine, but what I am missing is any kind of surface or street-type information.
On a regular routing request, I can setPathDetails
and specify that I want those values. But I just can’t find that on MapMatching?!?
This is how I instantiate my MapMatching.
Would be amazing if somebody could point me in the right direction
val observations = points.map { Observation(it) }
val hints = PMap()
hints.putObject("profile", profile)
val mapMatching = MapMatching.fromGraphHopper(graphHopper, hints)
val mapMatchingResult = mapMatching.match(observations)