.zoning_settings
MatsimIntermodalWriterSettings property
Description
The .zoning_settings property allows access to the MatsimZoningWriterSettings and is present on the MatsimIntermodalWriterSettings. These settings allow you to configure the intermodal aspects of the Matsim writer, e.g., regarding the public transport stop locations.
Return type
Example 1
from planit import *
# create a network converter
planit_instance = Planit()
intermodal_converter = planit_instance.converter_factory.create(ConverterType.INTERMODAL)
# Open Street Map (OSM) intermodal reader
osm_reader = intermodal_converter .create_reader(IntermodalReaderType.OSM, "<country_name>")
osm_reader.settings.set_input_file("<path_to_input_file>")
# MATSIM intermodal writer
matsim_writer = intermodal_converter.create_writer(IntermodalWriterType.MATSIM)
matsim_writer.settings.set_output_directory("<path_to_output_dir>")
# access zoning specific settings for configuration
matsim_writer.settings.zoning_settings.<some_method>
# perform conversion
intermodal_converter.convert(osm_reader,matsim_writer)
See also
MatsimZoningWriterSettings for the zoning (public transport) specific settings
Source code
Class MatsimIntermodalWriterSettingsWrapper in converterwrappers.py
Last modified January 1, 0001