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

GTFS editing capabilities #8

Open
markusstraub opened this issue Feb 5, 2024 · 2 comments
Open

GTFS editing capabilities #8

markusstraub opened this issue Feb 5, 2024 · 2 comments

Comments

@markusstraub
Copy link
Contributor

Hi,

building on your nifty library I implemented some GTFS editing capabilities in https://github.com/ait-energy/gtfs-fiddler/. Quoting the README:


  1. Add additional trips
    • Earliest trip in the morning (for a specific time) with GtfsFiddler.ensure_earliest_departure
    • Latest trip in the evening (for a specific time) with GtfsFiddler.ensure_latest_departure
    • Trips to shorten intervals (for a specified maximum interval duration) with GtfsFiddler.ensure_max_trip_interval
  2. Increase speed of trips (for a specified average speed between two stops) with GtfsFiddler.ensure_min_speed

Also it provides typed access to the more of the feed's members (for autocompletion in IDE :)

The helper method fiddle.compute_stop_time_stats supplements the gtfs_kit utils.


Are you interested in merging this into gtfs_kit? I think it would be a great addition and I am happy to provide the code. Tell me what you think!

Best, Markus

@araichev
Copy link
Contributor

araichev commented Feb 6, 2024

Hi Markus, good to hear you're finding GTFS Kit useful.
Skimming over your GTFS Fiddler code, i see how it can also be useful.
However, i also think it's a little too niche to add to GTFS Kit, which is meant to be a general purpose GTFS library.
At this point, i think Fiddler is better maintained as a separate library.

@markusstraub
Copy link
Contributor Author

Hi Alex, OK let's keep it separate. If you change your mind I'm happy to help with the integration.

However, I would still suggest integration of compute_stop_time_stats into gtfs_kit as this is a general-purpose analysis method, what do you think?

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

No branches or pull requests

2 participants