### Run Public Transit Mapper Source: https://github.com/matsim-org/pt2matsim/wiki/Mapping-a-MATSim-schedule-to-a-MATSim-network-(Public-Transit-Mapper) Execute the Public Transit Mapper with a configuration file as an argument. ```Java org.matsim.pt2matsim.run.PublicTransitMapper ``` -------------------------------- ### Run Osm2MultimodalNetwork Converter Source: https://github.com/matsim-org/pt2matsim/wiki/Creating-a-multimodal-network-(Osm2MultimodalNetwork) Execute the Osm2MultimodalNetwork converter with the path to the configuration file as an argument. ```Java org.matsim.pt2matsim.run.Osm2MultimodalNetwork defaultConfigFile.xml ``` -------------------------------- ### Create Default PTMapper Configuration Source: https://github.com/matsim-org/pt2matsim/wiki/Mapping-a-MATSim-schedule-to-a-MATSim-network-(Public-Transit-Mapper) Generate a default configuration file for the Public Transit Mapper. This is useful for setting up input parameters for the mapping process. ```Java org.matsim.pt2matsim.run.CreateDefaultPTMapperConfig ``` -------------------------------- ### Create Default OSM Config File Source: https://github.com/matsim-org/pt2matsim/wiki/Creating-a-multimodal-network-(Osm2MultimodalNetwork) Generate a default configuration file for the OSM converter. This file specifies default values for links and parameters, and controls the creation of opposite links, capacity, freespeed, and number of lanes. ```Java org.matsim.pt2matsim.run.CreateDefaultOsmConfig defaultConfigFile.xml ``` -------------------------------- ### Run Osm2TransitSchedule Converter Source: https://github.com/matsim-org/pt2matsim/wiki/Creating-an-unmapped-MATSim-transit-schedule Execute the Osm2TransitSchedule converter by calling its main method. Provide the OSM file path, output schedule file path, and an optional output coordinate system. ```Java org.matsim.pt2matsim.run.Osm2TransitSchedule.main(new String[]{ "path/to/osm/file.osm", "output/transitSchedule.xml", "EPSG:2056" }); ``` -------------------------------- ### Run Schedule Plausibility Check Source: https://github.com/matsim-org/pt2matsim/wiki/Check-Mapped-Schedule-Plausibility Executes the plausibility check for a mapped transit schedule. Requires the schedule file, network file, coordinate system, and an output folder as input arguments. ```Java org.matsim.pt2matsim.run.CheckMappedSchedulePlausibility ``` -------------------------------- ### Run Gtfs2TransitSchedule Converter Source: https://github.com/matsim-org/pt2matsim/wiki/Creating-an-unmapped-MATSim-transit-schedule Execute the Gtfs2TransitSchedule converter by calling its main method. Provide the GTFS folder, service ID selection criteria, output coordinate system, and output file paths. ```Java org.matsim.pt2matsim.run.Gtfs2TransitSchedule.main(new String[]{ "path/to/gtfs/folder", "23.01.2002", "EPSG:2056", "output/transitSchedule.xml", "output/defaultVehicles.xml" }); ``` -------------------------------- ### Run Hafas2TransitSchedule Converter Source: https://github.com/matsim-org/pt2matsim/wiki/Creating-an-unmapped-MATSim-transit-schedule Run the Hafas2TransitSchedule converter by invoking its main method. Specify the HAFAS folder, output coordinate system, and output schedule and vehicle file paths. An optional date can be provided. ```Java org.matsim.pt2matsim.run.Hafas2TransitSchedule.main(new String[]{ "path/to/hafas/folder", "WGS84", "output/transitSchedule.xml", "output/defaultVehicles.xml", "23.01.2002" }); ``` -------------------------------- ### Add PT2MATSim to Maven Project Source: https://github.com/matsim-org/pt2matsim/blob/master/README.md Include this snippet in your pom.xml to add PT2MATSim as a dependency to your Maven project. Ensure you have the correct version number. ```xml pt2matsim https://repo.matsim.org/repository/matsim/ org.matsim pt2matsim 26.4 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.