Skip to content

U-Shift/GTFShift

Repository files navigation

GTFShift logo

GTFShift encompasses a complete bundle of methods to harmonize GTFS and OSM data, enabling the integration and exploration of different layers of transit data, starting with the planned operations (GTFS), but also the infrastructure topology (OSM) and real-time information (GTFS-RT).

Installation

You can install the development version of GTFShift from GitHub with:

# install.packages("remotes")
remotes::install_github("U-Shift/GTFShift")

Load the package

library(GTFShift)

Get started

For more details on the package and how to get started, please visit the Get started page.

Main use cases

Harmonize GTFS geometries with OSM data

The lack of standardization on GTFS shape geometries hampers aggregated analysis of different feeds and the association of planned service information with other urban dimensions such as the infrastructure topology.

To solve this problem, GTFShift provides a bundle of methods to harmonize GTFS shapes with OSM road network geometries. Refer to Get OSM data for bus routes and Generate GTFS with OSM geometries for more details.

Example of GTFS original shapes (salmon) and harmonized GTFS shapes with OSM data (blue) for TCB, Barreiro, Portugal

Bus Lane Prioritization

GTFShift emerged from the necessity to understand how to get an overview of where bus lanes should be prioritized for a given territory, using General Transit Feed Specification (GTFS) and OpenStreetMap (OSM) data.

It provides a comprehensive bundle of methods that cover several dimensions of this problem, namely:

  • Frequency of buses (and trams) per hour and direction, at a peak hour;
  • Number of lanes in the same direction;
  • Existing traffic conditions;
  • Existing bus lanes in the area (from a network continuity perspective).

Together, these can be used to identify road segments where bus lanes should be implemented, enabling for a transparent and data-driven decision-making process, suitable to different contexts and criteria.

Example of bus lane prioritization analysis for Lisbon city, considering road segments with a minimum frequency of 10 buses/hour, average commercial speed below 9.7 km/h and more than 1 lane per direction.

Dashboard

GTFShift provides an interactive dashboard that allows users to explore and visualize results for real case studies, aiming to illustrate its potential and capabilities to a non-technical audience, while disseminating the outputs of these real world scenarios.

Visit it at ushift.pt/apps/gtfshift.

Related packages

Acknowledgement

GTFShift is developed and maintained by U-Shift urban mobility research group, part of CERIS research unit, at Instituto Superior Técnico, Lisbon, Portugal.


About

Explore and analyse General Transit Feed Specification (GTFS) files with a focus on urban mobility

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors