Skip to main content

PTRAIL: A Mobility-data Preprocessing Library using parallel computation.

Project description

PTRAIL: A Parallel TRajectory dAta preprocessIng Library


PTRAIL is a state-of-the art Mobility Data Preprocessing Library that mainly deals with filtering data, generating features and interpolation of Trajectory Data.

The main features of PTRAIL are:

  1. PTRAIL uses primarily parallel computation based on python Pandas and numpy which makes it very fast as compared to other libraries available.
  2. PTRAIL harnesses the full power of the machine that it is running on by using all the cores available in the computer.
  3. PTRAIL uses a customized DataFrame built on top of python pandas for representation and storage of Trajectory Data.
  4. PTRAIL also provides several Temporal and spatial features which are calculated mostly using parallel computation for very fast and accurate calculations.
  5. Moreover, PTRAIL also provides several filteration and outlier detection methods for cleaning and noise reduction of the Trajectory Data.
  6. Apart from the features mentioned above, four different kinds of Trajectory Interpolation techniques are offered by PTRAIL which is a first in the community.


PTRAIL Documentation

Pip Installation

  1. pip install PTRAIL


PTRAIL Examples






To cite PTRAIL in your academic work, please use the following citation:

      title={PTRAIL -- A python package for parallel trajectory data preprocessing}, 
      author={Salman Haidri and Yaksh J. Haranwala and Vania Bogorny and Chiara Renso and Vinicius Prado da Fonseca and Amilcar Soares},

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ptrail, version 0.5.2.Beta
Filename, size File type Python version Upload date Hashes
Filename, size ptrail-0.5.2b0-py3-none-any.whl (57.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ptrail-0.5.2.Beta.tar.gz (47.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page