cyang-kth / fmm

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

How to handle the case where only part of a trajectory can be correctly map matched? #33

Closed cyang-kth closed 4 years ago

cyang-kth commented 5 years ago

We may need to consider the api service of http://project-osrm.org/docs/v5.22.0/api/#match-service

cyang-kth commented 4 years ago

In that case, we should export the Opath and Cpath by putting an unmatched point with -1 to indicate that it is unmatched.

cyang-kth commented 4 years ago

The issue is addressed in this branch feature-segment

Check this one for illustration. https://github.com/cyang-kth/fmm/tree/feature-segmentation/example/segment