cyang-kth / fmm

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

Question about "spdist" field in output #141

Closed Jamesyang2333 closed 3 years ago

Jamesyang2333 commented 3 years ago

Hi, may I know what's the unit of the shortest path distance (spdist) field in the fmm output, and how is it calculated? Is it the euclidean distance between raw GPS points, or the shortest path distance on road network?

cyang-kth commented 3 years ago

It is the shortest path distance on the road network between candidates (point on the matched edge) matched to each GPS point that is displayed as violet line below. The unit is the same as the unit of network shapefile.

Jamesyang2333 commented 3 years ago

I see, thank you!