# PTRAIL -- A python package for parallel trajectory data preprocessing

arXiv: https://arxiv.org/abs/2108.13202 · HTML: https://mlsanity.com/paper/2108.13202/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- Builds on 0 of its 17 references that are in the map.
- First posted on arXiv 26 Aug 2021.

## Built on by (most cited first, 4 of 4)

- [Survey of Federated Learning Models for Spatial-Temporal Mobility Applications](https://mlsanity.com/paper/2305.05257/) (2023)
- [ANALYTiC: Understanding Decision Boundaries and Dimensionality Reduction in Machine Learning](https://mlsanity.com/paper/2401.05418/) (2023)
- [Towards Interpretable and Efficient Feature Selection in Trajectory Datasets: A Taxonomic Approach](https://mlsanity.com/paper/2506.20359/) (2025)
- [A Systematic Approach for Selecting Trajectories for Data Augmentation](https://mlsanity.com/paper/2606.10938/) (2026)

## Abstract (arXiv)

Trajectory data represent a trace of an object that changes its position in space over time. This kind of data is complex to handle and analyze, since it is generally produced in huge quantities, often prone to errors generated by the geolocation device, human mishandling, or area coverage limitation. Therefore, there is a need for software specifically tailored to preprocess trajectory data. In this work we propose PTRAIL, a python package offering several trajectory preprocessing steps, including filtering, feature extraction, and interpolation. PTRAIL uses parallel computation and vectorization, being suitable for large datasets and fast compared to other python libraries.
