cyang-kth / fmm

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

change output fields in python API for match_wkt() #183

Closed Walfou closed 3 years ago

Walfou commented 3 years ago

is there any way to control the output fields of match_wkt() in the python interface, just by adjusting the way the function is called in python? otherwise how can adjust the original C++ code to control the output fields?

cyang-kth commented 3 years ago

It is possible, please check the notebook examples. https://github.com/cyang-kth/fmm/blob/master/example/notebook/fmm_example.ipynb

Walfou commented 3 years ago

@cyang-kth Thanks but I already checked that and didn't manage to extract tgeom from the result object of match_wkt() According to the documentation, tgeom is not by default included in the output. I also only found ResultConfig object for the match_gps_file() function