Class GtfsServicesAndZoningReaderIntegrator
- java.lang.Object
-
- org.goplanit.gtfs.converter.intermodal.GtfsServicesAndZoningReaderIntegrator
-
public class GtfsServicesAndZoningReaderIntegrator extends Object
Integrates the service network and routed services (GTFS itinerary) with the physical road network and zoning (GTFS stop based transfer zones)- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description GtfsServicesAndZoningReaderIntegrator(GtfsIntermodalReaderSettings settings, Zoning zoning, ServiceNetwork serviceNetwork, RoutedServices routedServices, Function<ServiceNode,String> serviceNodeToGtfsStopIdMapping, Function<String,TransferZone> gtfsStopIdToTransferZoneMapping)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Perform the integration where we identify paths between each of the used GTFS stop service nodes on the physical road network and update the PLANit references in the service legs accordinglyvoid
reset()
Reset internal (temporary) state
-
-
-
Constructor Detail
-
GtfsServicesAndZoningReaderIntegrator
public GtfsServicesAndZoningReaderIntegrator(GtfsIntermodalReaderSettings settings, Zoning zoning, ServiceNetwork serviceNetwork, RoutedServices routedServices, Function<ServiceNode,String> serviceNodeToGtfsStopIdMapping, Function<String,TransferZone> gtfsStopIdToTransferZoneMapping)
Constructor- Parameters:
settings
- of the parent reader usedzoning
- to integrateroutedServices
- to integrateserviceNetwork
- to integrateserviceNodeToGtfsStopIdMapping
- mapping from PLANit service nodes to GTFS stop idsgtfsStopIdToTransferZoneMapping
- mapping from GTFS stop id to PLANit transfer zone
-
-