Package org.goplanit.matsim.converter
Class MatsimIntermodalWriterFactory
- java.lang.Object
-
- org.goplanit.matsim.converter.MatsimIntermodalWriterFactory
-
public class MatsimIntermodalWriterFactory extends Object
Factory for creating PLANitMatsimIntermodalWriters that creates a writer that supports both #MatsimIntermodalWriter.write(MacroscopicNetwork, Zoning)
as well as #MatsimIntermodalWriter.writeWithServices(MacroscopicNetwork, Zoning, ServiceNetwork, RoutedServices)
- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description MatsimIntermodalWriterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatsimIntermodalWriter
create()
Create a PLANitMatsimIntermodalWriter which persists PLANit networks and their pt infrastructure and services in MATSIM network format, using all defaults, requires the user to set output directory afterwardsstatic MatsimIntermodalWriter
create(String outputDirectory)
Create a PLANitMatsimIntermodalWriter which persists PLANit networks and their pt infrastructure and services in MATSim network format with default mode mappingstatic MatsimIntermodalWriter
create(String outputDirectory, String countryName)
Create a PLANitMatsimWriter which persists PLANit networks and their pt infrastructure (and possibly services) in MATSim network format with default mode mappingstatic MatsimIntermodalWriter
create(MatsimIntermodalWriterSettings settings)
create a PLANitMatsimWriter which persists PLANit networks and their pt infrastructure (and possibly services) in MATSim network format using the settings provided.
-
-
-
Method Detail
-
create
public static MatsimIntermodalWriter create()
Create a PLANitMatsimIntermodalWriter which persists PLANit networks and their pt infrastructure and services in MATSIM network format, using all defaults, requires the user to set output directory afterwards- Returns:
- created MATSim writer
-
create
public static MatsimIntermodalWriter create(String outputDirectory)
Create a PLANitMatsimIntermodalWriter which persists PLANit networks and their pt infrastructure and services in MATSim network format with default mode mapping- Parameters:
outputDirectory
- to use- Returns:
- created MATSim writer
-
create
public static MatsimIntermodalWriter create(String outputDirectory, String countryName)
Create a PLANitMatsimWriter which persists PLANit networks and their pt infrastructure (and possibly services) in MATSim network format with default mode mapping- Parameters:
outputDirectory
- to usecountryName
- country which the input file represents, used to determine defaults in case not specifically specified in OSM data, when left blank global defaults will be used based on a right hand driving approach- Returns:
- created MATSim writer
-
create
public static MatsimIntermodalWriter create(MatsimIntermodalWriterSettings settings)
create a PLANitMatsimWriter which persists PLANit networks and their pt infrastructure (and possibly services) in MATSim network format using the settings provided.- Parameters:
settings
- to use- Returns:
- created MATSim writer
-
-