This program is an implementation of the following paper:
A Combination Method of Trajectory Data using Correlated Direction of Collected GPS Data https://doi.org/10.9717/kmms.2016.19.8.1636
In short, this algorithm combines trajectory data, which is GPX(GPS Xml format) file,
and generates new routes like below:
- Python (ver. 2.7.11)
- MongoDB
- The test is carried out on Windows
Trajectory Clustering
In /trajectory_clustering/driver.py, the input value is the directory for trajectories to combine.
If input is "C:\trajectories", the input GPX files should be in there.
Run driver.py
When you have files in input and run driver.py, you can see like:
Check Database
After that, you can check out the information for combining trajectories:
Trajectory Direction
In /trajectory_direction/driver.py, the output value is the directory for the generated routes.
If output is "C:\output", you can find the combined output after running driver.py like:
Input Path
The following shows 3 of input trajectories:
And the following shows 8 of output routes:



