.settings
GeometryIntermodalWriter property
Description
The .settings
property allows access to the settings of the GeometryIntermodalWriter
.
Return type
GeometryIntermodalWriterSettings
implementation
Example 1
from planit import *
planit = Planit()
# intermodal converter
intermodal_converter = planit.converter_factory.create(ConverterType.INTERMODAL)
# PLANit reader
planit_reader = intermodal_converter.create_reader(IntermodalReaderType.PLANIT, AUSTRALIA)
planit_reader.settings.set_input_directory(PLANIT_INPUT_PATH)
# GeoIo (GIS geometry shape) writer
geo_writer = intermodal_converter.create_writer(IntermodalWriterType.SHAPE)
geo_writer.settings.set_output_directory(OUTPUT_PATH)
geo_writer.settings.set_country("Australia")
# perform conversion (with pt services)
intermodal_converter.convert_with_services(planit_reader, geo_writer)
See also
GeometryIntermodalWriterSettings
the settings available
Source code
Class GeometryIntermodalWriterWrapper
in converterwrappers.py