Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support to multiple transit agencies #535

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

r-akemii
Copy link
Collaborator

@r-akemii r-akemii commented Jun 7, 2024

In this PR we add support to import more than one transit agency per GTFS file. We also modified how stops are numbered and its agency_id.

Modifications include:

  • allows the import of multiple transit agencies per feed
  • removes stops numbering based on transit agency
  • updates column selection for GTFS files
  • updates examples in docs (plot_import_gtfs.py and plot_public_transit_assignment.py): removed agency argument
  • updates link to GTFS documentation in modeling_with_aequilibrae/public_transport.rst and on database specifications (aequilibrae/project/database_specification/transit/tables)
  • updates tests in paths, project, and transit

@r-akemii r-akemii linked an issue Jun 7, 2024 that may be closed by this pull request
@r-akemii
Copy link
Collaborator Author

r-akemii commented Jun 7, 2024

An initial thought was import transit agency data first, and have a workflow similar to the one that exists in __load_date (transit/gtfs_loader.py). I had an initial thought of loading all data for one agency at a time (like load all data for agency A, then load all data for agency B), but I don't think it's a good idea.

@r-akemii r-akemii marked this pull request as ready for review June 18, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to more than one transit agency in GTFS feeds
2 participants