PyTrack: a Map-Matching-based Python Toolbox for Vehicle Trajectory Reconstruction
What is it?
PyTrack is a Python package that integrate the recorded GPS coordinates with data provided by the open-source OpenStreetMap (OSM). PyTrack can serve the intelligent transport research, e.g. to reconstruct the video of a vehicle’s route by exploiting available data and without equipping it with camera sensors, to update the urban road network, and so on.
If you use PyTrack in your work, please cite the journal article.
Citation info: M. Tortora, E. Cordelli and P. Soda, "PyTrack: a Map-Matching-based Python Toolbox for Vehicle Trajectory Reconstruction," in IEEE Access, vol. 10, pp. 112713-112720, 2022, doi: 10.1109/ACCESS.2022.3216565.
@ARTICLE{mtpytrack,
author={Tortora, Matteo and Cordelli, Ermanno and Soda, Paolo},
journal={IEEE Access},
title={PyTrack: A Map-Matching-Based Python Toolbox for Vehicle Trajectory Reconstruction},
year={2022},
volume={10},
number={},
pages={112713-112720},
doi={10.1109/ACCESS.2022.3216565}}
Main Features
The following are the main features that PyTrack includes:
- Generation of the street network graph using geospatial data from OpenStreetMap
- Map-matching
- Data cleaning
- Video reconstruction of the GPS route
- Visualisation and analysis capabilities
Getting Started
Installation
The source code is currently hosted on GitHub at: https://github.com/cosbidev/PyTrack. PyTrack can be installed using*:
# conda
conda install pytrack
# or PyPI
pip install PyTrack-lib
*for Mac m1 users, it is recommended to use conda in order to be able to install all dependencies.
Documentation
Checkout the official documentation. Besides, here you can see some examples of the application of the library.
Examples
Map-Matching
To see the map-matching feature of PyTrack in action please go to map-matching documentation.
Video reconstruction of the itinerary
Contributing to PyTrack
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
Author
Created by Matteo Tortora - feel free to contact me!
License
PyTrack is distributed under a BSD-3-Clause-Clear Licence.
Metadata
Release files for PyTrack-lib 2.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyTrack-lib-2.0.8.tar.gz | 23.8 kB | Without provenance | Details for PyTrack-lib-2.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PyTrack_lib-2.0.8-py3-none-any.whl | Python 3 | none | any | Details for PyTrack_lib-2.0.8-py3-none-any.whl |
Total release size: 52.9 kB
Release files / PyTrack-lib-2.0.8.tar.gz
| Download URL | PyTrack-lib-2.0.8.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58760dfc665b68c1aad2b7c6a6f4551c543f58af03683c0cb7570e18c4b8a2ca
|
|
BLAKE2b-256 checksum How to use checksums |
5344e42529f07ee9a1103369fd335d3bd92bcd476dc2fcf3ce86b0b09c1f9bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / PyTrack_lib-2.0.8-py3-none-any.whl
| Download URL | PyTrack_lib-2.0.8-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc2b46ba945660faf0881470a41d5030742cb04bfde595a82975cc236cef067a
|
|
BLAKE2b-256 checksum How to use checksums |
375b16f1cf11a1c32f3780d26d05c18888b09f5d5e60f46c5054f5356389e3dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for PyTrack-lib 2.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.