odot-pts / gtfs-ride Goto Github PK
View Code? Open in Web Editor NEWGTFS-ride is an open standard for storing and sharing fixed-route transit ridership data.
Home Page: https://gtfsride.org
License: Apache License 2.0
GTFS-ride is an open standard for storing and sharing fixed-route transit ridership data.
Home Page: https://gtfsride.org
License: Apache License 2.0
There is overlap in the rider_trip.transaction_type and rider_trip.fare_media fields. i.e. both list cash, transfer options (though slightly differently). If a traveler used a mobile payment "software flash pass" to make a transfer, then would transaction_type = 2 and fare_media = 4? It seems as though options 0, 1, 2 might be removed from transaction_type.
Quoting draft:
transaction_type Optional The transaction_type field indicates what entitled the customer to the trip. * 0 - customer paid cash/credit/debit. * 1 - customer used stored value or tokens. * 2 - customer used a transfer. * 3 - customer used a pass. * 4 - customer used a promotional coupon. * 5 - trip is a free trip. * 6 - customer was never charged the fare. * 7 - customer was charged a fare but did not pay. * 8 - Other. fare_media Optional The fare_media field indicates what media was used to pay the fare. * 0 - Not applicable or unknown. * 1 - Cash. * 2 - Paper transfer, single-use paper ticket, or token. * 3 - Paper flash pass (visual inspection). * 4 - Software flash pass (visual inspection). * 5 - Proof-of-payment receipt * 6 - Magnetic strip card, agency-issued. * 7 - RFID or smart card, agency-issued * 8 - Magnetic strip card, open payment. * 9 - RFID or smart card, open payment
The load for the arriving bus is more useful to people at the stop than the load as it leaves the stop. Suggest replacing current_load
with arriving_load
.
In the spec, ridership.txt lists all of the GTFS identifiers (agency_id, route_id) are all listed as optional. If we don't have at least one of those fields filled in, is this useful?
So at the VTA our APCS are only on around 60% of the buses. Would it fit in this spec? Perhaps we create a board_alight file but not a ridership file?
The wiki links to https://groups.google.com/forum/#!forum/gtfs-ride-changes, but no group exists. The correct group is: https://groups.google.com/forum/#!forum/gtfs-ride
Current draft's definition of rider_trip.trip_id:
The trip_id field contains the ID of the trip associated with the unique rider, if this is known. If trip_id is empty, then the rider may have taken one of several trips, or several possible chains of trips, to travel between the origin and the destination.
"Origin-destination-transfer" (ODX) data is available from onboard passenger surveys, fare collection systems that require tap off, can be inferred in the case of "tap-on only" fare systems. It may also be available through mobile ticketing apps, though I am uncertain on this. It would be useful for GTFS-ride to be able to specify a rider trip across multiple vehicle trips.
One option:
Add a new file, ride_segment.txt (see issue #21) or rider_trip_segment.txt, which could associate rider trips to vehicle trips, i.e. with fields for rider_trip_id, trip_id (foreign key to trips.txt), boarding_stop_id, alighting_stop_id, etc.
bike boards/alights are ambiguous about whether the bike is inside or not. Suggest being specific.
rider_type and rider_type description could be synced with GTFS+ concepts (or another such approach to fare categories, as generally, it seems likely that rider types should map onto fare categories). Alternately they could map to something else like census designated categories.
More documentation and consideration of how this data should/would be managed, stored, and amended over the course of time would be useful.
rider_type
) be generated?rider_type
, transaction_type
, fare_media
, etc.)Looking forward to discussing further!
Just a question: I stumbled upon this just now and was wondering if anyone is actively using this GTFS extension (looks like the repo hasn't been updated in a few years). Are there any sample datasets to play with? Can you give me a sense of the scale of adoption in the broader community?
Service_date in board_alight.txt could be changed to a required field as the trip_id alone is not sufficient to identify the date of travel.
Renaming rider_trip.txt to ride.txt may prevent people from confusing this data with vehicle trips.
An optional vehicle_id field could be added to trip_capacity.txt. This could be referenced by the GTFS-RT (real-time) feed.
Current draft:
* 0 - Entry contains complete ridership counts for the associated stop_id in the field(s) boardings and/or alightings as available.
Might "complete" be misleading or unnecessary? Might a count sometimes be provided which is technically incomplete? The current language appears to imply a standard of quality/accuracy.
@MobilityData (MobilityData.org) currently has a draft proposal to describe vehicle type characteristics. I am seeking to share this proposal with the GTFS-ride group.
GTFS-ride could reference these vehicle type characteristics instead of describing this in trip_capacity. Vehicles types could then be linked to trips or blocks.
Small change, but it seems appropriate to change the rider_trip.rider_id field name to ride_id. The field doesn't identify an individual rider, and GTFS-ride purports to provide anonymized data.
Since multiple versions of ridership data are often produced from the same time period [ various computing summary methods ] it might be useful to recommend or allow some sort of versioning or source.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.