Class DefaultRouteProducer

java.lang.Object
org.entur.netex.gtfs.export.producer.DefaultRouteProducer
All Implemented Interfaces:
RouteProducer

public class DefaultRouteProducer extends Object implements RouteProducer
Produce a GTFS Route from a NeTEx Line. Supported GTFS Extension: the route_type field is mapped to GTFS extended route types.
  • Constructor Details

  • Method Details

    • produce

      public org.onebusaway.gtfs.model.Route produce(org.rutebanken.netex.model.Line line)
      Description copied from interface: RouteProducer
      Produce a GTFS Route for a given NeTEx Line.
      Specified by:
      produce in interface RouteProducer
      Parameters:
      line - the NeTEx line.
      Returns:
      the GTFS Route