.services_settings
GtfsIntermodalReaderSettings property
Description
The .services_settings
property allows access to the GtfsServicesReaderSettings and
is present on the GtfsIntermodalReaderSettings
. These settings are specific to configuring aspects of parsing
public transport services.
Return type
Example 1
from planit import *
# create an intermodal converter
planit_instance = Planit()
intermodal_converter = planit_instance.converter_factory.create(ConverterType.INTERMODAL)
from planit import *
# create an intermodal converter
planit_instance = Planit()
intermodal_converter = planit_instance.converter_factory.create(ConverterType.INTERMODAL)
# <some_intermodal_reader> = construct OSM or PLANit intermodal reader for example
# GTFS reader
gtfs_reader: GtfsIntermodalReaderWrapper = \
intermodal_converter.create_reader(IntermodalReaderType.GTFS, "Australia", <some_intermodal_reader>)
gtfs_reader.settings.services_settings.<some_method>
See also
GtfsServicesReaderSettings for the GTFS services settings available
Source code
Class GtfsServicesReaderSettingsWrapper
in converterwrappers.py