Class MatsimIntermodalWriterFactory


  • public class MatsimIntermodalWriterFactory
    extends Object
    Factory for creating PLANitMatsimIntermodalWriters
    Author:
    markr
    • Constructor Detail

      • MatsimIntermodalWriterFactory

        public MatsimIntermodalWriterFactory()
    • Method Detail

      • create

        public static MatsimIntermodalWriter create()
        Create a PLANitMatsimIntermodalWriter which persists PLANit networks and pt infrastructure 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 pt infrastructure in MATSIM network format
        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 pt infrastructure in MATSIM network format
        Parameters:
        outputDirectory - to use
        countryName - 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​(MatsimNetworkWriterSettings networkWriterSettings,
                                                    MatsimZoningWriterSettings zoningWriterSettings)
        create a PLANitMatsimWriter which persists PLANit networks and pt infrastructure in MATSIM network format using the network and zoning settings provided
        Parameters:
        networkWriterSettings - to use
        zoningWriterSettings - to use
        Returns:
        created MATSim writer