← All agencies

Fix: a stop sits far from the route's drawn path

Code: stop_too_far_from_shape_using_user_distance (MobilityData validator)

What this means

Your feed provides shape_dist_traveled values that tie stops to points along a

route's shape in shapes.txt. For some trips a stop ends up far from the shape

at the distance given, so the stop and the drawn route disagree about where the

stop is.

Why it matters

Apps use the shape to draw the route line and to place stops along it. When a

stop is far from the shape, the map shows the route detouring to a stop that

isn't really there, or a stop floating off the line. Riders see a confusing map

and worse walking directions to the stop.

How to fix it

The mismatch is between three things; check which is off for the flagged trips:

re-generate shapes.txt so it follows the real path.

measurements are off, regenerate them. Many tools compute shape_dist_traveled

automatically; re-running that step usually clears this.

How long it usually takes

Often a regeneration step in your scheduling tool rather than hand-editing. If a

specific stop or shape is wrong, it is a targeted fix on the flagged trips.