Replace the shapes of cropped trips by their cuts
replace_cropped_shapes(gtfs, shape_cuts)The GTFS object with the cut shapes added to shapes, the cropped
trips linked to them and the shape_dist_traveled of their stop_times
set to NA. Shapes no longer used by any trip are removed.
A GTFS object, as created by read_gtfs().
The output of locate_cropped_trip_cuts().