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

Saving ubodt file #187

Closed Vedanta-Z closed 3 years ago

Vedanta-Z commented 3 years ago

Is your feature request related to a problem? Please describe. Would it be possible to save the read UBODT file? So, everytime that fmm is run , UBODT is not read again. Currently, Even if I save precomputed ubodxt file, It takes around a minute to read the ubodxt file for a dense city map.

Describe the solution you'd like Something like saving UBODT in a file, then loading it and running fmm.

cyang-kth commented 3 years ago

The UBODT file is already stored in a file. You can try binary format to improve the reading speed. Alternatively, you can try to use the python API which allows you to read the ubodt just once and try different settings.

https://github.com/cyang-kth/fmm/blob/master/example/notebook/fmm_example.ipynb