A Python package for parsing GTFS data and creating geospatial visualizations of transit frequencies, speeds, and segments.
GTFS functions is a Python package that parses GTFS (General Transit Feed Specification) data and creates geospatial visualizations. It transforms raw transit schedules into analyzable layers like stop frequencies, line frequencies, and segment speeds, helping users understand transit network performance and patterns.
Transit planners, data analysts, researchers, and developers working with public transportation data who need to analyze and visualize GTFS schedules.
It offers a simplified, dependency-light approach to GTFS analysis with an intuitive class-based interface, built-in geospatial outputs, and visualization tools, making it easier to derive insights than working with raw GTFS files directly.
Package with useful functions to create geo-spatial visualizations from a GTFS.
The Feed class exposes GTFS files as properties (e.g., feed.routes, feed.stops), simplifying data access and manipulation, as demonstrated in the README examples with easy DataFrame queries.
Functions return GeoDataFrames with Point or LineString geometries (e.g., stop_freq with Points, line_freq with LineStrings), ready for mapping without extra conversion steps.
Removed external dependencies like partridge for more control and stability, reducing failure points, as noted in the March 2023 update prioritizing simplicity.
Includes map_gdf for basic plotting and seamless kepler.gl integration for advanced maps, shown in the README with examples for speeds and segment frequencies.
Fails if stop_times.txt has Null values in arrival_time/departure_time, requiring manual data cleaning—a significant limitation highlighted in the warning section.
Only processes scheduled GTFS data, lacking support for real-time transit updates or historical performance tracking, limiting dynamic analysis use cases.
Advanced mapping relies on kepler.gl, which demands separate installation and learning, adding complexity for users wanting out-of-the-box visuals.
Import GTFS transit data into SQLite and query routes, stops, times, fares and more.
Tools for working with GTFS public transit data in ArcGIS
RRRR rapid real-time routing
R package for working with GTFS data
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.