Package: gps2gtfs 0.6.0
gps2gtfs: High-Performance GPS to GTFS Converter
Preprocesses raw GPS trajectory data of public transit and transforms it to GTFS format. Provides a high-performance R port of the 'gps2gtfs' Python package by Aaivu (Ratneswaran et al., 2023) <doi:10.1109/ICCT56969.2023.10075789>, whose software description is published in Ratneswaran et al. (2025) <doi:10.1016/j.simpa.2025.100780>. Heavy computational tasks are offloaded to an extremely fast compiled Rust backend or a C++ (Rcpp) backend. Automatic backend selection prefers Rust, then Rcpp, and falls back to a slower pure R implementation utilizing 'data.table' and 'sf'.
Authors:
gps2gtfs_0.6.0.tar.gz
gps2gtfs_0.6.0.tgz(r-4.6-x86_64)gps2gtfs_0.6.0.tgz(r-4.6-arm64)gps2gtfs_0.6.0.tgz(r-4.5-x86_64)gps2gtfs_0.6.0.tgz(r-4.5-arm64)
gps2gtfs_0.6.0.tar.gz(r-4.7-arm64)gps2gtfs_0.6.0.tar.gz(r-4.7-x86_64)gps2gtfs_0.6.0.tar.gz(r-4.6-arm64)gps2gtfs_0.6.0.tar.gz(r-4.6-x86_64)
gps2gtfs_0.6.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gps2gtfs/json (API)
| # Install 'gps2gtfs' in R: |
| install.packages('gps2gtfs', repos = c('https://e-kotov.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/e-kotov/gps2gtfs/issues
Pkgdown/docs site:https://e-kotov.github.io
- g2g_data_gps - Sample bus GPS trajectories
- g2g_data_stops - Sample bus stops
- g2g_data_terminals - Sample bus terminals
Last updated from:3228c763de. Checks:10 OK, 5 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 142 | ||
| linux-devel-x86_64 | OK | 164 | ||
| source / vignettes | OK | 223 | ||
| linux-release-arm64 | OK | 136 | ||
| linux-release-x86_64 | OK | 154 | ||
| macos-release-arm64 | OK | 136 | ||
| macos-release-x86_64 | OK | 355 | ||
| macos-oldrel-arm64 | OK | 129 | ||
| macos-oldrel-x86_64 | OK | 342 | ||
| windows-devel-arm64 | FAIL | 278 | ||
| windows-devel-x86_64 | FAIL | 50 | ||
| windows-release-arm64 | FAIL | 342 | ||
| windows-release-x86_64 | FAIL | 46 | ||
| windows-oldrel-x86_64 | FAIL | 61 | ||
| wasm-release | OK | 144 |
Exports:g2g_clean_gpsg2g_diagnosticsg2g_extract_tripsg2g_extract_trips_and_stop_timesg2g_shapes_from_tripsg2g_stops_from_geometriesg2g_stops_from_gtfsg2g_stops_from_positionsg2g_terminals_from_geometriesg2g_terminals_from_gtfs
Dependencies:data.tableRcpp
Last update: 2026-10-03
Started: 2026-10-03
Last update: 2026-10-03
Started: 2026-07-18
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Clean raw GPS data | g2g_clean_gps |
| Sample bus GPS trajectories | g2g_data_gps |
| Sample bus stops | g2g_data_stops |
| Sample bus terminals | g2g_data_terminals |
| Extraction coverage diagnostics | g2g_diagnostics |
| Extract trips from GPS trajectories | g2g_extract_trips |
| Extract trips and stop times from GPS trajectories | g2g_extract_trips_and_stop_times |
| Build shapes.txt-shaped traces from a pipeline trajectory | g2g_shapes_from_trips |
| Derive a stops table from supplied route geometries | g2g_stops_from_geometries |
| Derive a stops table from a static GTFS feed | g2g_stops_from_gtfs |
| Estimate stop coordinates from vehicle positions | g2g_stops_from_positions |
| Derive trip terminals from supplied route geometries | g2g_terminals_from_geometries |
| Derive trip terminals from a static GTFS feed | g2g_terminals_from_gtfs |
