Module Values.IsolineMatchingOptionsSource

Controls how origin and destination points are matched to the road network when they don't fall exactly on a road. Matching options help ensure realistic routing by connecting points to appropriate roads.

Sourcetype nonrec t = {
  1. nameHint : SensitiveString.t option;
    (*

    The expected street name near the point. Helps disambiguate matching when multiple roads are within range.

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

    The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching. Unit: meters

    *)
  3. radius : DistanceMeters.t option;
    (*

    The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specified Strategy Unit: meters

    *)
  4. strategy : MatchingStrategy.t option;
    (*

    Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.

    *)
}
Sourceval make : ?nameHint:??? -> ?onRoadThreshold:??? -> ?radius:??? -> ?strategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of DistanceMeters.t | `String of SensitiveString.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