Module Values.IsolineSource

Represents a single reachable area calculated for a specific threshold.

Sourcetype nonrec t = {
  1. connections : IsolineConnectionList.t option;
    (*

    Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.

    *)
  2. distanceThreshold : DistanceMeters.t option;
    (*

    The travel distance in meters used to calculate this isoline, if distance-based thresholds were specified in the request.

    *)
  3. geometries : IsolineShapeGeometryList.t option;
    (*

    The shapes that define the reachable area, provided in the requested geometry format.

    *)
  4. timeThreshold : DurationSeconds.t option;
    (*

    The travel time in seconds used to calculate this isoline, if time-based thresholds were specified in the request.

    *)
}
Sourceval make : ?connections:??? -> ?distanceThreshold:??? -> ?geometries:??? -> ?timeThreshold:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of IsolineConnectionFromPolygonIndexInteger.t | `List of [> `List of [> `List of [> `Double of Double.t ] list ] list | `String of PolylineRing.t ] list | `Structure of (string * [> `List of [> `List of [> `Double of Double.t ] list ] list | `String of Polyline.t ]) list ]) list ] list | `Long of DistanceMeters.t ]) 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