.network_settings
GeometryIntermodalWriterSettings property
The GeometryIntermodalWriterSettings
instance is accessible via the GeometryIntermodalWriter
its .settings
property.
It allows the user to configure the GeometryIntermodalWriter. We differentiate between:
The network settings are identical to the settings exposed by the GeometryNetworkWriter These settings configure everything related to exporting the physical road, rail, ferry network.
The zoning (od and transfer zone) settings are identical to the settings exposed by the GeometryZoningWriter These settings configure everything related to exporting the origin-destination zones as well as transfer zones, e.g., the persistence of bus stops, train stations, platforms, etc. In addition it allows for persisting the virtual network connecting hte physical network to the zones.
The service network settings reflect the settings regarding exporting the service network on which routed service run (and which in turn is superimposed on the physical road network).
The routed services settings reflect the settings regarding exporting the public transport services.
All methods marked as Compulsory=YES
in the Methods section are expected to be configured by the user explicitly.
A GeometryIntermodalWriterSettings
instance exposes the following methods.
Name | Compulsory | Default | Description |
---|---|---|---|
.set_country(+) |
NO | Context dependent | Set the country the intermodal network resides in, used to determine the coordinate reference system to apply |
.set_output_directory(+) |
YES | N/A | Set the output directory to persist the output files to |
These methods are transitively applied to the underlying settings of the network, zoning, service network, and routed services when they are set by the user.
This class exposes the following properties
Property | Availability | Description |
---|---|---|
.network_settings |
Always | Settings specific to physical road infrastructure |
.zoning_settings |
Always | Settings specific to origin-destination and transfer (zones) |
.service_network_settings |
Always | Settings specific to service network persistence |
.routed_services_settings |
Always | Settings specific to routed services such as public transport lines |
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)
GeometryIntermodalWriter
geometry (GIS) intermodal writer class these settings reside on
Class GeometryIntermodalWriterSettingsWrapper
in converterwrappers.py
GeometryIntermodalWriterSettings property
GeometryIntermodalWriterSettings property
GeometryIntermodalWriterSettings property
GeometryIntermodalWriterSettings method
GeometryIntermodalWriterSettings method
GeometryIntermodalWriterSettings property