Class UpdateCalendarDatesForDuplicateTrips

  • All Implemented Interfaces:
    GtfsTransformStrategy

    public class UpdateCalendarDatesForDuplicateTrips
    extends Object
    implements GtfsTransformStrategy
    Map ATIS trip_ids to mta_trips_ids while de-duplicating. Tag each "duplicate" trip with an ATIS id to force it unique if the stopping pattern differs. Otherwise create new service_ids representing the service of the duplicates, adding to an exemplar trip and deleting the duplicates.