Module Values.SnapToRoadsRequestSource

SnapToRoads matches GPS trace to roads most likely traveled on. For more information, see Snap to Roads in the Amazon Location Service Developer Guide.

Sourcetype nonrec t = {
  1. key : ApiKey.t option;
    (*

    Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.

    *)
  2. snappedGeometryFormat : GeometryFormat.t option;
    (*

    Chooses what the returned SnappedGeometry format should be. Default value: FlexiblePolyline

    *)
  3. snapRadius : SnapToRoadsRequestSnapRadiusLong.t option;
    (*

    The radius around the provided tracepoint that is considered for snapping. Unit: meters Default value: 300

    *)
  4. tracePoints : SnapToRoadsRequestTracePointsList.t;
    (*

    List of trace points to be snapped onto the road network.

    *)
  5. travelMode : RoadSnapTravelMode.t option;
    (*

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. Default value: Car

    *)
  6. travelModeOptions : RoadSnapTravelModeOptions.t option;
    (*

    Travel mode related options for the provided travel mode.

    *)
}
Sourceval context_ : string
Sourceval make : ?key:??? -> ?snappedGeometryFormat:??? -> ?snapRadius:??? -> ?travelMode:??? -> ?travelModeOptions:??? -> tracePoints:SnapToRoadsRequestTracePointsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Double of Heading.t | `List of [> `Double of Double.t ] list | `String of TimestampWithTimezoneOffset.t ]) list ] list | `Long of SnapToRoadsRequestSnapRadiusLong.t | `String of ApiKey.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Enum of string ] list | `Long of WeightKilograms.t | `String of TunnelRestrictionCode.t | `Structure of (string * [> `Integer of RoadSnapTrailerOptionsTrailerCountInteger.t ]) 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