GTFS Express Open GTFS Express

trip_with_shape_dist_traveled_but_no_shape_distances: GTFS validation rule Info

A trip gives shape_dist_traveled values in stop_times.txt while its shape in shapes.txt does not give one on every point: the distances of the stops cannot be placed along the shape.

Updated on 13 November 2026

What the rule checks

A trip gives shape_dist_traveled values in stop_times.txt while its shape in shapes.txt does not give one on every point: the distances of the stops cannot be placed along the shape.

Severity: information

An information notice marks a feature of the GTFS that does not affect its conformity. It helps to understand the data and asks for no correction.

Where it applies

The rule applies to stop_times.txt and shapes.txt.

Finding and correcting it

Open the GTFS in GTFS Express. Reading is free, and the validation, by the MobilityData validator, lists the occurrences of trip_with_shape_dist_traveled_but_no_shape_distances with the file and rows involved. The correction is made in a draft, by hand or from a brief, with the licence: the corrected GTFS is validated again before it is delivered, and the change can be undone.

In the MobilityData validator

trip_with_shape_dist_traveled_but_no_shape_distances is the code of the MobilityData GTFS validator, the one its report carries. Its documentation describes the rule: trip_with_shape_dist_traveled_but_no_shape_distances on the MobilityData site.

Rules of the same domain