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

Missing GTFS table attributes - A wishlist. #8

Open
splendidbits opened this issue Oct 2, 2016 · 8 comments
Open

Missing GTFS table attributes - A wishlist. #8

splendidbits opened this issue Oct 2, 2016 · 8 comments

Comments

@splendidbits
Copy link

splendidbits commented Oct 2, 2016

Some updates to possibly bear in mind going forward, if it's not a big headache. Below are a list of (at least my personal) nice-to-haves, written under in the context of the GTFS tables in question. I'll keep this updated.

As always thanks for your work. Please see this as more of a wishlist.

General:

  • The bus and rail csv's are in different line-termination encoding methods. \n vs \r\n (mac vs windows).

Bus GTFS data:

agency

  • agency_id - Include agency_id primary key that corresponds to the existing rail agency table data ("SEPTA")?.

fare_rules

  • route_id - Any corresponding route_id information.

feed_info

  • This is personally the big one GTFS attribute documentation. While start_date,
    end_date, and feed_version are not "required", they would provide a nice way for 3rd-party server / client aggregators to query if the GTFS bundle(s) are outdated. It may also help Google pick up the new schedules in a timely manner, although I know nothing about this process.

frequencies

  • Ignorable as it's only for frequency-based schedule data, which SEPTA does not employ.

routes

  • agency_id - See the above comment regarding the agency_id primary key.
  • route_url - A fully-qualified url to the SEPTA route webpage. i.e.: trolly_route_13.
  • route_color - Route hex color information for missing route rows.

stop_times

  • stop_headsign - would be nice (say compass direction), as it saves a trips table lookup. Not a big deal, though.

stops

  • location_type - For large stations such as Jefferson, please mark as 1. Not a big deal though. (docs)
  • wheelchair_boarding - A bit confusing as some stations are listed with 0 but the other rows are null. Possible formatting issue.

Rail GTFS data:

fare_attributes

  • Any corresponding fare information, although can understand potential complexity with this.

fare_rules

  • Same as above.

feed_info

  • Same as the bus feed_info comment.

stop_times

  • stop_headsign - Same as bus stop_times comment.

transfers

  • Center City transfers would be a nice-to-have.
@splendidbits splendidbits changed the title Updated GTFS table data Missing GTFS table attributes - A wishlist. Oct 2, 2016
@RideSchedules
Copy link

This all sounds great, especially adding fare information.

@zachpepsin
Copy link

These changes would be amazing. One other thing I would love: if stations that connect with other rail lines (such as 30th St) used the same stop_id across other GTFS feeds. It would require minimal coordination with NJ Transit, but would make it much easier to handle transfers with other rail lines.

@fulldecent
Copy link
Contributor

Quick note: all of the required information per GTFS specification, updated July 12, 2016, is in SEPTA's file.

https://developers.google.com/transit/gtfs/reference/

This issue relates to adding optional data that is predefined in GTFS.


If anyone's interested, here is a script I use to import SEPTA rail data into SQLite https://github.com/fulldecent/septa-regionalrail-otp/blob/master/Getting%20GTFS%20Data%20from%20SEPTA/sqliteGTFSImport.txt

@splendidbits
Copy link
Author

splendidbits commented Oct 18, 2018

@fulldecent Your script 404's. If you could come in Saturday and re-upload that would be great.

sm

@zachpepsin I actually forgot to write that way back then (before NJT had any GTFS feeds at all), and yes, this would be amazing.

@septadev Just to update this thread, getting a consistent experience through both feeds is still a hardship for me. Especially having the same (SEPTA) agency_id across all tables. Thanks!

@fulldecent
Copy link
Contributor

@fulldecent
Copy link
Contributor

Since I just redid the file. Here it is if you want it.

septaSchedules.db.zip

1 similar comment
@fulldecent
Copy link
Contributor

Since I just redid the file. Here it is if you want it.

septaSchedules.db.zip

@splendidbits
Copy link
Author

@fulldecent thanks!

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

4 participants