Skip to content

IsolineThresholds

Source code in docs_src/capo_geo_routes/types/isoline_thresholds.py
class IsolineThresholds(TypedDict, closed=True):
    distance: NotRequired[
        "capo_geo_routes.types.distance_threshold_list.DistanceThresholdList"
    ]
    """<p>List of travel distances in meters. For example, [1000, 2000, 5000] would calculate areas reachable within 1, 2, and 5 kilometers.</p>"""
    time: NotRequired["capo_geo_routes.types.time_threshold_list.TimeThresholdList"]
    """<p>List of travel times in seconds. For example, [300, 600, 900] would calculate areas reachable within 5, 10, and 15 minutes.</p>"""

distance instance-attribute

distance: NotRequired[DistanceThresholdList]

List of travel distances in meters. For example, [1000, 2000, 5000] would calculate areas reachable within 1, 2, and 5 kilometers.

time instance-attribute

time: NotRequired[TimeThresholdList]

List of travel times in seconds. For example, [300, 600, 900] would calculate areas reachable within 5, 10, and 15 minutes.