Required if the trip has a continuous pickup or drop-off behavior defined either in routes.txt or in stop_times.txt.
Optional otherwise.
It seems like we don't have a validation rule for this currently.
Describe the new validation rule
The new rule should be triggered by these two cases:
If a dataset has records in routes.txt with routes.continuous_pickup or routes.continuous_drop_off defined, all trips using this route should have trips.shape_id defined.
If a dataset has records in stop_times.txt with stop_times.continuous_pickup or stop_times.continuous_drop_off defined, their associated trips should have trips.shape_id defined.
Sample GTFS datasets
Here is a sample dataset I've modified from an existing dataset that has stop_times.continuous_pickup and stop_times.continuous_drop_off defined and where I've removed trips.shape_id.
Archive.zip
Describe the problem
The spec says in trips.shape_id:
It seems like we don't have a validation rule for this currently.
Describe the new validation rule
The new rule should be triggered by these two cases:
routes.txt
withroutes.continuous_pickup
orroutes.continuous_drop_off
defined, all trips using this route should havetrips.shape_id
defined.stop_times.txt
withstop_times.continuous_pickup
orstop_times.continuous_drop_off
defined, their associated trips should havetrips.shape_id
defined.Sample GTFS datasets
Here is a sample dataset I've modified from an existing dataset that has
stop_times.continuous_pickup
andstop_times.continuous_drop_off
defined and where I've removedtrips.shape_id
. Archive.zipSeverity
ERROR
Additional context
No response