Values.SnapToRoadsResponseSourceSnapToRoads matches GPS trace to roads most likely traveled on. For more information, see Snap to Roads in the Amazon Location Service Developer Guide.
type nonrec t = {notices : RoadSnapNoticeList.t option;Notices are additional information returned that indicate issues that occurred during route calculation.
*)pricingBucket : String_.t option;The pricing bucket for which the query is charged at.
*)snappedGeometry : RoadSnapSnappedGeometry.t option;The interpolated geometry for the snapped route onto the road network.
*)snappedGeometryFormat : GeometryFormat.t option;Specifies the format of the geometry returned for each leg of the route.
*)snappedTracePoints : RoadSnapSnappedTracePointList.t option;The trace points snapped onto the road network.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Double of RoadSnapSnappedTracePointConfidenceDouble.t
| `Enum of string
| `List of
[> `Double of Double.t | `Integer of Integer.t ] list
| `String of SensitiveString.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `List of [> `List of [> `Double of Double.t ] list ] list
| `String of Polyline.t ])
list ])
list ]