.activate_extended_logging_for_gtfs_zones(+)

GtfsZoningReaderSettings method

Description

Indicate to activate extended logging for the provided GTFS stops.

Signature

.activate_extended_logging_for_gtfs_zones(gtfs_stop_ids: List[str])

with

Parameter Type Unit Default Description
gtfs_stop_ids str N/A N/A GTFS stop ids to activate extended logging for

Return type

N/A

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>)

## extended logging for those GTFS stop ids ##
gtfs_reader.settings.zoning_settings.activate_extended_logging_for_gtfs_zones(['123456', '8876549'])            

See also

N/A

Source code

Class GtfsZoningReaderSettingsWrapper in converterwrappers.py