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-Flex #388

Closed
Closed
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e359750
Modify stop_areas.txt
tzujenchanmbd Jul 12, 2023
2efafbf
Modify stop_times.stop_id
tzujenchanmbd Jul 12, 2023
778069e
Modify stop_times.stop_sequence
tzujenchanmbd Jul 12, 2023
6a95ac2
Modify stop_times.arrival_time
tzujenchanmbd Jul 12, 2023
86472bd
Modify stop_times.departure_time
tzujenchanmbd Jul 12, 2023
4ee86b9
Modify stop_times.pickup_type/drop_off_type
tzujenchanmbd Jul 12, 2023
58018b9
Extend stop_times with start/end_pickup_dropoff_window
tzujenchanmbd Jul 13, 2023
231b071
Extend stop_times with pickup/drop_off_booking_rule_id
tzujenchanmbd Jul 13, 2023
8dcbbcd
Add locations.geojson file
tzujenchanmbd Jul 13, 2023
858fa7b
Add booking_rules.txt file
tzujenchanmbd Jul 13, 2023
820289c
Add general description for locations.geojson
tzujenchanmbd Jul 13, 2023
0450331
Add forbidden location.geojson.id with the same area_id
tzujenchanmbd Jul 21, 2023
fca0f08
Removed "consecutive values" in stop_sequence
tzujenchanmbd Jul 25, 2023
1f6c463
Change presence for pickup_type & drop_off_type
tzujenchanmbd Aug 3, 2023
d69e157
Clarification on stop_times.stop_id
tzujenchanmbd Oct 12, 2023
a42aa78
Revert changes in stop_areas.txt
tzujenchanmbd Nov 8, 2023
af97543
Add location_groups.txt back
tzujenchanmbd Nov 8, 2023
eafa3e1
Modify stop_times.stop_id
tzujenchanmbd Nov 8, 2023
f71374a
Change name of location_groups.location_id
tzujenchanmbd Nov 9, 2023
fe6b4c6
Add stop_times.location_group_id & location_id
tzujenchanmbd Nov 9, 2023
af0c0f8
Change presence of stop_times.stop_id
tzujenchanmbd Nov 9, 2023
9457322
Modify stop_times.start/end_pickup_drop_off_window
tzujenchanmbd Nov 9, 2023
33da9b9
Modify stop_times.pickup_type/drop_off_type
tzujenchanmbd Nov 9, 2023
c97df8e
Modify stop_times.stop_sequence
tzujenchanmbd Nov 9, 2023
757d676
Change requirement condition for stop_times.stop_id
tzujenchanmbd Nov 9, 2023
352f09e
Modify locations.geojson
tzujenchanmbd Nov 9, 2023
fdcf875
Modify stop_times.continuous_pickup/drop_off
tzujenchanmbd Nov 10, 2023
df038dd
Modify routes.continuous_pickup/drop_off
tzujenchanmbd Nov 10, 2023
e428c8e
Dedicated clarifications for stop and location group
tzujenchanmbd Nov 17, 2023
6314252
Remove same id value restriction
tzujenchanmbd Nov 17, 2023
7d10ffa
Add unique ID restriction
tzujenchanmbd Nov 29, 2023
1fc0e61
Add location_groups.txt to dataset files
tzujenchanmbd Nov 29, 2023
7dee929
Simplify language in stop_times
tzujenchanmbd Nov 29, 2023
c3929b3
Change an incorrect dot to an underscore
tzujenchanmbd Dec 7, 2023
eacf043
not "indicate" groups, but "are" groups
tzujenchanmbd Jan 22, 2024
5e22e10
Update location_groups and location_group_stops
tzujenchanmbd Jan 24, 2024
1419292
Modify locations.geojson file description
tzujenchanmbd Jan 24, 2024
13c858b
Add "Zone Overlap Constraint"
tzujenchanmbd Jan 24, 2024
088d1e3
Add travel time clarification
tzujenchanmbd Jan 24, 2024
3dc6aaa
Modify conditions for 4 fields
tzujenchanmbd Feb 13, 2024
709066b
Remove unnecessary table name & editorial changes
tzujenchanmbd Feb 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add stop_times.location_group_id & location_id
tzujenchanmbd authored Nov 9, 2023
commit fe6b4c6c6407686bc320096bc1906357ec4c8a01
2 changes: 2 additions & 0 deletions gtfs/spec/en/reference.md
Original file line number Diff line number Diff line change
@@ -262,6 +262,8 @@ Primary key (`trip_id`, `stop_sequence`)
| `arrival_time` | Time | **Conditionally Required** | Arrival time at the stop (defined by `stop_times.stop_id`) for a specific trip (defined by `stop_times.trip_id`). <br><br>If there are not separate times for arrival and departure at a stop, `arrival_time` and `departure_time` should be the same. <br><br>For times occurring after midnight on the service day, enter the time as a value greater than 24:00:00 in HH:MM:SS local time for the day on which the trip schedule begins.<br><br> If exact arrival and departure times (`timepoint=1` or empty) are not available, estimated or interpolated arrival and departure times (`timepoint=0`) should be provided.<br><br>Conditionally Required:<br>- **Required** for the first and last stop in a trip (defined by `stop_times.stop_sequence`). <br>- **Required** for `timepoint=1`.<br>-&nbsp;**Forbidden** when `stop_times.start_pickup_drop_off_window` or `stop_times.end_pickup_drop_off_window` are defined.<br>- Optional otherwise.|
| `departure_time` | Time | **Conditionally Required** | Departure time from the stop (defined by `stop_times.stop_id`) for a specific trip (defined by `stop_times.trip_id`).<br><br>If there are not separate times for arrival and departure at a stop, `arrival_time` and `departure_time` should be the same. <br><br>For times occurring after midnight on the service day, enter the time as a value greater than 24:00:00 in HH:MM:SS local time for the day on which the trip schedule begins.<br><br> If exact arrival and departure times (`timepoint=1` or empty) are not available, estimated or interpolated arrival and departure times (`timepoint=0`) should be provided.<br><br>Conditionally Required:<br>- **Required** for `timepoint=1`.<br>-&nbsp;**Forbidden** when `stop_times.start_pickup_drop_off_window` or `stop_times.end_pickup_drop_off_window` are defined.<br>- Optional otherwise.| |
| `stop_id` | Foreign ID referencing `stops.stop_id` | **Required** | Identifies the serviced stop. All stops serviced during a trip must have a record in [stop_times.txt](#stop_timestxt). Referenced locations must be stops/platforms, i.e. their `stops.location_type` value must be `0` or empty. A stop may be serviced multiple times in the same trip, and multiple trips and routes may service the same stop.<br><br>On-demand service within locations should be referenced in the sequence in which service is available in those locations. A data consumer should assume that a rider picked up at one stop or in one location can be dropped off at any stop or in any location later in the trip, pursuant to the `pickup/drop_off_type` of those stop_times and the time constraints of each `start/end_pickup_drop_off_window`. |
| `location_group_id` | Foreign ID referencing `location_groups.location_group_id` | **Conditionally Forbidden** | Identifies the serviced location group that indicates groups of stops where riders may request pickup or drop off. All location groups serviced during a trip must have a record in [stop_times.txt](#stop_timestxt). Multiple trips and routes may service the same location group.<br><br>On-demand service within locations should be referenced in the sequence in which service is available in those locations. A data consumer should assume that a rider picked up at one stop or in one location can be dropped off at any stop or in any location later in the trip, pursuant to the `pickup/drop_off_type` of those stop_times and the time constraints of each `start/end_pickup_drop_off_window`.<br><br>**Conditionally Forbidden**:<br>- **Forbidden** if `stop_times.stop_id` or `stop_times.location_id` are defined. |
| `location_id` | Foreign ID referencing `id` from `locations.geojson` | **Conditionally Forbidden** | Identifies the GeoJSON location that corresponds to serviced zone where riders may request pickup or drop off. All GeoJSON locations serviced during a trip must have a record in [stop_times.txt](#stop_timestxt). Multiple trips and routes may service the same GeoJSON location.<br><br>On-demand service within locations should be referenced in the sequence in which service is available in those locations. A data consumer should assume that a rider picked up at one stop or in one location can be dropped off at any stop or in any location later in the trip, pursuant to the `pickup/drop_off_type` of those stop_times and the time constraints of each `start/end_pickup_drop_off_window`.<br><br>**Conditionally Forbidden**:<br>- **Forbidden** if `stop_times.stop_id` or `stop_times.location_group_id` are defined. |
| `stop_sequence` | Non-negative integer | **Required** | Order of stops for a particular trip. The values must increase along the trip but do not need to be consecutive.<hr>*Example: The first location on the trip could have a `stop_sequence`=`1`, the second location on the trip could have a `stop_sequence`=`23`, the third location could have a `stop_sequence`=`40`, and so on.* <br><br> Travel within the same stop area or GeoJSON location requires two records in `stop_times.txt` with the same `stop_id`. |
| `stop_headsign` | Text | Optional | Text that appears on signage identifying the trip's destination to riders. This field overrides the default `trips.trip_headsign` when the headsign changes between stops. If the headsign is displayed for an entire trip, `trips.trip_headsign` should be used instead. <br><br> A `stop_headsign` value specified for one `stop_time` does not apply to subsequent `stop_time`s in the same trip. If you want to override the `trip_headsign` for multiple `stop_time`s in the same trip, the `stop_headsign` value must be repeated in each `stop_time` row. |
| `start_pickup_drop_off_window` | Time | **Conditionally Required** | Time that on-demand service becomes available in a GeoJSON location, stop area or stop.<br><br>**Conditionally Required**:<br>-&nbsp;**Required** if `stop_times.stop_id` refers to `stop_areas.area_id` or `id` from `locations.geojson`. <br>-&nbsp;**Forbidden** if `stop_times.arrival_time` or `stop_times.departure_time` are defined. |