Class InterpolateStopTimesFromTimePointsStrategy

  • All Implemented Interfaces:
    GtfsTransformStrategy

    public class InterpolateStopTimesFromTimePointsStrategy
    extends Object
    implements GtfsTransformStrategy
    Delete all stop times (arrival and departure) that are not timepoints and re-interpolate those times with second precision. For GTFS that has stops close together but also has minute precision on arrival/departure times. These stops travel distance over no time which can cause issues with downstream systems. Inspired by and ported from onebusaway-application-modules StopTimeEntriesFactory.