tracklib library provides a variety of tools, operators and functions to manipulate GPS trajectories


Keywords
GPS, track, Python, library, Map-matching, Trajectory, aggregation, Synthetic, Segmenting, tracks, Summarizing, Stop, positions, Kalman, filter, gps-track, kalman-filter, python-library, segmenting-gps-tracks, stop-positions, summarizing-gps-tracks, synthetic-trajectory, trajectory-aggregation
License
CECILL-C
Install
pip install tracklib==0.3

Documentation

Tracklib

Tracklib library provide a variety of tools, operators and functions to manipulate GPS trajectories

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Tracklib build & test codecov Documentation Status Software License

Supported Python Versions PyPI Version PyPI Downloads DOI

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.

Documentation

The official online documentation is available at ReadTheDocs

In particular, the docs include quick examples and some Use cases

Installation

from pypi (i.e. via pip)

pip install tracklib

Citation

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

Scientific papers whose experiments use the Tracklib library

  • 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

About

version See pypi
status Active since 2020 November 1st, 2020
license Cecill C

Development

Institute: LASTIG, Univ Gustave Eiffel, ENSG, IGN

Authors