cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
878 stars 205 forks source link

Use fmm to snap coordinate to nearest road #193

Closed Vedanta-Z closed 3 years ago

Vedanta-Z commented 3 years ago

Is your feature request related to a problem? Please describe. I would like to snap a coordinate to closest osm road.

Describe the solution you'd like I tried snapping a single coordinate, but did not get an output. Can we make some changes to allow fmm to snap a single coordinate?

Additional context Snapping a single coordinate with a given (lat,lon) to the closest osm road.

cyang-kth commented 3 years ago

Snapping to the closest road may not give the correct matching result, or you could try with the configuration of k=1.