.network_settings
OsmIntermodalReaderSettings property
Description
The .network_settings
property allows access to the OsmNetworkReaderSettings and is present on the OsmIntermodalReaderSettings
. These settings are identical to the settings on the OsmNetworkReader
since under the hood the OsmIntermodalReader
utilises the OsmNetworkReader for the parsing of the physical road and rail network and is therefore configured via the same settings, accessible via this property.
Return type
Example 1
from planit import *
# create an intermodal 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.network_settings.<some_method>
See also
OsmNetworkReaderSettings for the network specific settings available
Source code
Class OsmNetworkReaderSettingsWrapper
in converterwrappers.py