.pt_settings
OsmIntermodalReader property
Description
The .pt_settings
property allows access to the OsmPublicTransportReaderSettings and is present on the OsmIntermodalReaderSettings
. These settings are specific to the public transport infrastructure (not lines and services yet) of the network such as bus stops, train platforms, and stations.
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.pt_settings.<some_method>
See also
OsmPublicTransportSettings for the public transport specific settings available
Source code
Class ReaderSettingsWrapper
in converterwrappers.py