cyang-kth / fmm

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

Visualisation of outputs #124

Closed gottfriedmrs closed 3 years ago

gottfriedmrs commented 3 years ago

Dear Can,

I would like to ask you a fast way to visualize many outputs of your FMM (I suppose that you use Qgis ?)

QGIS tutorial, automatic visualisation formatting, script visualisation advices, visualisation of OSM directionnal graph (I use your function save_graph_shapefile_directional).

I am already using Qgis but I have to add manually each csv outputs (output of a multiple traces input, such as your "trips.csv") and I don't know a lot about this software to format the visualisation properly.

Thanks in advance for your help !

cyang-kth commented 3 years ago

Currently there is no automatic way to visualization the match result. You still need to add CSV to QGIS and set the styles manually. You can perhaps use Jupyter-notebook to visualize the trajectory and matched trajectory. However, for the road network it would be more complicated to figure out the topology and ids of road edges.

I am currently developing several examples of interactive exploration in jupyter-notebook. The codes will be published soon.

gottfriedmrs commented 3 years ago

Thanks a lot for your fast answer. Do you have some advice of styles in QGis ? I don't know a lot about this software.

I am also searching to visualize the network as a directionnal graph but I don't find tutorial on this.

Sincerely, Gottfried

cyang-kth commented 3 years ago

I once saw a lot of tutorial on visualizing network but them seems to disappear.

The most intensively used symbol is marked line with different start and ending symbols like this one.

https://gis.stackexchange.com/questions/215830/showing-arrowheads-in-line-end-using-qgis

cyang-kth commented 3 years ago

Here are some visualization analytics designed in notebook:

https://github.com/cyang-kth/fmm-examples