.settings
OsmIntermodalReader property
Description
The .settings
property allows access to the settings of the OsmIntermodalReader
.
Since this reader comprises multiple readers under the hood, this settings instance in turn provides access to
other settings such as the pt_settings
as well as network_settings
, where the
latter is identical to the settings discussed as part of the OsmNetworkReader
.
Return type
OsmIntermodalReaderSettings
implementation
Example 1
from planit import *
# create a network converter
planit_instance = Planit()
intermodal_converter = planit_instance.converter_factory.create(ConverterType.INTERMODAL)
# example Open Street Map (OSM) intermodal reader and access to its settings
osm_reader = intermodal_converter.create_reader(IntermodalReaderType.OSM, "<country_name>")
osm_reader.settings.<some method>
See also
OsmIntermodalReaderSettings
the settings available
Source code
Class OsmIntermodalReaderWrapper
in converterwrappers.py