Tracklib library provide a variety of tools, operators and functions to manipulate GPS trajectories |
More and more datasets of GPS trajectories are now available and they are studied very frequently in many scientific domains. Currently available Python libraries for trajectories can separately load, simplify, interpolate, summarize or visualize them. But, as far as we know, there is no Python library that would contain all these basic functionalities. This is what tracklib is modestly trying to do. The library provides some conventions, capabilities and techniques to manipulate GPS trajectories.
In tracklib, the core model supports a wide range of trajectory applications:
1/ trajectory can be seen as a concept of (geo)located timestamps sequence to study for example an athlete's performance,
2/ trajectory can be seen as a concept of a curve which makes it possible to study trajectory shapes,
3/ a full trajectory dataset can be reduced into a regular grid of summarized features,
4/ with map matching process, trajectories can be seen as a network of routes.
Furthermore, adding analytical features (e.g. speed, curvilinear abscissa, inflection point, heading, acceleration, speed change, etc.) on a observation or on all observations of a trajectory (function of coordinates or timestamp) is, in general, a complex and a boring task. So, to make it easier, Tracklib module offers a multitude of operators and predicates to simplify the creation of analytical features on a GPS tracks.
The official online documentation is available at ReadTheDocs
In particular, the docs include quick examples and some Use cases
pip install tracklib
If you use tracklib, please cite the following references:
Yann Méneroux, Marie-Dominique van Damme. Tracklib: a python library with a variety of tools, operators and functions to manipulate GPS trajectories. 2022, HAL Id
- Méneroux, Y., Maidaneh Abdi, I., Le Guilcher, A., & Olteanu-Raimond, A. M. (2022). Is the radial distance really a distance? An analysis of its properties and interest for the matching of polygon features. International Journal of Geographical Information Science, 37(2), 438–475. https://doi.org/10.1080/13658816.2022.2123487
version | See pypi |
status | Active since 2020 November 1st, 2020 |
license | Cecill C |
Institute: LASTIG, Univ Gustave Eiffel, ENSG, IGN
Authors
- Yann Méneroux
- Marie-Dominique Van Damme
- Nisar Hakam
- Lâmân LELÉGARD
- Mattia Bunel