Module Values.IsolineAvoidanceAreaSource

Defines an area to avoid when calculating routes. Consists of a primary geometry to avoid, with the ability to specify exception areas within that geometry where travel is permitted.

Sourcetype nonrec t = {
  1. except : IsolineAvoidanceAreaGeometryList.t option;
    (*

    Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.

    *)
  2. geometry : IsolineAvoidanceAreaGeometry.t;
    (*

    The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.

    *)
}
Sourceval context_ : string
Sourceval make : ?except:??? -> geometry:IsolineAvoidanceAreaGeometry.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Double of Double.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of PolylineRing.t ] list | `Structure of (string * [> `Integer of Integer.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of Polyline.t ]) list ]) list ] list | `Structure of (string * [> `List of [> `Double of Double.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of PolylineRing.t ] list | `Structure of (string * [> `Integer of Integer.t | `List of [> `List of [> `Double of Double.t ] list ] list | `String of Polyline.t ]) list ]) 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