Skip to content

Implement trip distance vs. shape verification (GTFS rule) #163

Closed

Description

Is your feature request related to a problem? Please describe.
The distance traveled by a trip should be less or equal to the max length of its shape. This is a GTFS rule implemented in Google Python validator and featured in Google Type Error as TYPE_TRIP_WITH_OUT_OF_ORDER_SHAPE_DIST_TRAVELED.

Describe the solution you'd like
Actual Google GTFS validator behaviour : verifies if distance travelled is smaller than shape length. If not, generate an ERROR.

Describe alternatives you've considered

Additional context
Line 141 in Error support priorities https://docs.google.com/spreadsheets/d/1vqe6wq7ctqk1EhYkgtZ0_TbcQ91vccfs2daSjn20BLE/edit#gid=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

new ruleNew rule to be addedpython validatorRules implemented in the original Google Python Validatorstatus: ReadyAn issue that is ready to be worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions