Module Values.IsolineOriginOptionsSource

Options that control how the origin point is interpreted when calculating reachable areas. These options affect which roads are considered accessible from the starting point and how initial routing decisions are made.

Sourcetype nonrec t = {
  1. avoidActionsForDistance : DistanceMeters.t option;
    (*

    The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the starting point.

    *)
  2. heading : Heading.t option;
    (*

    Initial direction of travel in degrees (0-360, where 0 is north). This affects which road segments are considered accessible from the starting point and is particularly useful when the origin is on a divided road or at a complex intersection.

    *)
  3. matching : IsolineMatchingOptions.t option;
    (*

    Controls how the origin point is matched to the road network, including search radius and matching strategy.

    *)
  4. sideOfStreet : IsolineSideOfStreetOptions.t option;
    (*

    Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.

    *)
}
Sourceval make : ?avoidActionsForDistance:??? -> ?heading:??? -> ?matching:??? -> ?sideOfStreet:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Heading.t | `Long of DistanceMeters.t | `Structure of (string * [> `Enum of string | `List of [> `Double of Double.t ] list | `Long of DistanceMeters.t | `String of SensitiveString.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