Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 26, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original description:

In the pythons extensions section let's create a new "transit" edge provider. It takes a gtfs file. The edge expansion specification follows:

[Contains lat/lon/time] -> for every nearby stop, a vertex with stop_id, and time at arrival
[Contains stop id] -> for every vehicle departure in the next X hours, a vertex representing being on the vehicle moments after boarding. It should have (time, trip_id, stop sequence in trip, and "vehicle_state:boarding"). This is a boarding vertex.
[Boarding vertex] -> goes to an "alright vertex" at the next stop on the trip. An alright vertex is very similar to a boarding vertex except the time corresponds to a the arrival time at the stop, not the departure time.
[Alright vertex] -> goes to the "boarding vertex" at the same stop, and also the stop vertex at the same stop.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

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.

2 participants