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:Egor Kotov [aut, cre, cph], Aaivu [cph]

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

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

rustcargocpp

4.00 score 2 scripts 10 exports 2 dependencies

Last updated from:3228c763de. Checks:10 OK, 5 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK142
linux-devel-x86_64OK164
source / vignettesOK223
linux-release-arm64OK136
linux-release-x86_64OK154
macos-release-arm64OK136
macos-release-x86_64OK355
macos-oldrel-arm64OK129
macos-oldrel-x86_64OK342
windows-devel-arm64FAIL278
windows-devel-x86_64FAIL50
windows-release-arm64FAIL342
windows-release-x86_64FAIL46
windows-oldrel-x86_64FAIL61
wasm-releaseOK144

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

Get started with gps2gtfs
The inputs | Step 1: clean the pings | Step 2: extract trips and stop times | Step 3: check what was kept | Step 4: the shapes actually driven | Backends | Where next

Last update: 2026-10-03
Started: 2026-10-03

GTFS-Realtime Vehicle Positions to GTFS, natively
Reading an archived feed | A worked example | Terminals and stops from a baseline feed | Inputs without a GTFS | Extracting trips and stop times | From inference tables to a valid GTFS feed | Shapes: the geometry actually driven | Notes for real archives

Last update: 2026-10-03
Started: 2026-07-18