Class ShapeDirectionTransformStrategy

  • All Implemented Interfaces:
    GtfsTransformStrategy

    public class ShapeDirectionTransformStrategy
    extends Object
    implements GtfsTransformStrategy
    Fix use of a single shape for both directions of travel by creating a copy of the shape with its ShapePoints in reverse order, and applying that new shape to any trips which use the input shape in the 'wrong' direction.
    Author:
    kurt