Module Values.IsolineThresholdsSource

Specifies the time or distance limits used to calculate reachable areas. You can provide up to five thresholds for a single type to generate multiple isolines in a single request. For example, you might request areas reachable within 5, 10, and 15 minutes, or within 1, 2, and 5 kilometers.

Sourcetype nonrec t = {
  1. distance : DistanceThresholdList.t option;
    (*

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

    *)
  2. time : TimeThresholdList.t option;
    (*

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

    *)
}
Sourceval make : ?distance:??? -> ?time:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Long of DistanceThresholdListMemberLong.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t