Module Values.WaypointOptimizationAvoidanceOptionsSource

Specifies options for areas to avoid. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.

Sourcetype nonrec t = {
  1. areas : WaypointOptimizationAvoidanceOptionsAreasList.t option;
    (*

    Areas to be avoided.

    *)
  2. carShuttleTrains : SensitiveBoolean.t option;
    (*

    Avoidance options for cars-shuttles-trains.

    *)
  3. controlledAccessHighways : SensitiveBoolean.t option;
    (*

    Avoid controlled access highways while calculating the route.

    *)
  4. dirtRoads : SensitiveBoolean.t option;
    (*

    Avoid dirt roads while calculating the route.

    *)
  5. ferries : SensitiveBoolean.t option;
    (*

    Avoidance options for ferries.

    *)
  6. tollRoads : SensitiveBoolean.t option;
    (*

    Avoids roads where the specified toll transponders are the only mode of payment.

    *)
  7. tunnels : SensitiveBoolean.t option;
    (*

    Avoid tunnels while calculating the route.

    *)
  8. uTurns : SensitiveBoolean.t option;
    (*

    Avoid U-turns for calculation on highways and motorways.

    *)
}
Sourceval make : ?areas:??? -> ?carShuttleTrains:??? -> ?controlledAccessHighways:??? -> ?dirtRoads:??? -> ?ferries:??? -> ?tollRoads:??? -> ?tunnels:??? -> ?uTurns:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Double of Double.t ] list ]) list ]) 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