Package index
-
g2g_clean_gps() - Clean raw GPS data
Stops and terminals
Build the stop and terminal tables the extractor needs, from a planned GTFS feed, from route geometry, or from annotated Vehicle Positions.
-
g2g_stops_from_geometries() - Derive a stops table from supplied route geometries
-
g2g_stops_from_gtfs() - Derive a stops table from a static GTFS feed
-
g2g_stops_from_positions() - Estimate stop coordinates from vehicle positions
-
g2g_terminals_from_geometries() - Derive trip terminals from supplied route geometries
-
g2g_terminals_from_gtfs() - Derive trip terminals from a static GTFS feed
Trips and stop times
Cut trajectories into trips, detect stop visits, and inspect what was kept and dropped at each stage.
-
g2g_extract_trips() - Extract trips from GPS trajectories
-
g2g_extract_trips_and_stop_times() - Extract trips and stop times from GPS trajectories
-
g2g_diagnostics() - Extraction coverage diagnostics
-
g2g_shapes_from_trips() - Build shapes.txt-shaped traces from a pipeline trajectory
Example data
One bus on route 654 (Kandy to Digana, Sri Lanka) for one day, with the route’s stops and terminals; from the original Python gps2gtfs.
-
g2g_data_gps - Sample bus GPS trajectories
-
g2g_data_stops - Sample bus stops
-
g2g_data_terminals - Sample bus terminals