Class MatsimIntermodalWriterFactory

    • Constructor Detail

      • MatsimIntermodalWriterFactory

        public MatsimIntermodalWriterFactory()
    • 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 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​(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