Values.CalculateIsolinesResponseSourceCalculates areas that can be reached within specified time or distance thresholds from a given point. For example, you can use this operation to determine the area within a 30-minute drive of a store location, find neighborhoods within walking distance of a school, or identify delivery zones based on drive time. Isolines (also known as isochrones for time-based calculations) are useful for various applications including: Service area visualization - Show customers the area you can serve within promised delivery times Site selection - Analyze potential business locations based on population within travel distance Site selection - Determine areas that can be reached within specified response times Route preferences such as avoiding toll roads or ferries are treated as preferences rather than absolute restrictions. If a viable route cannot be calculated while honoring all preferences, some may be ignored. For more information, see Calculate isolines in the Amazon Location Service Developer Guide.
type nonrec t = {arrivalTime : TimestampWithTimezoneOffset.t option;Time of arrival at the destination, used for traffic calculations. This attribute is returned only if the Destination and ArrivalTime attributes were provided in the request. Time format: YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm Examples: 2020-04-22T17:57:24Z 2020-04-22T17:57:24+02:00
*)departureTime : TimestampWithTimezoneOffset.t option;Time of departure from the origin, used for traffic calculations. This attribute is returned when Origin was provided in the request and either a specific departure time was requested (DepartureTime) or DepartNow was set to true. Time format: YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm Examples: 2020-04-22T17:57:24Z 2020-04-22T17:57:24+02:00
*)isolineGeometryFormat : GeometryFormat.t option;The format of the returned geometries, matching the format specified in the request. Either FlexiblePolyline for compact encoding or Simple for GeoJSON-compatible coordinates. Default value:FlexiblePolyline
*)isolines : IsolineList.t option;Reachable areas, or isolines, for each threshold specified in the request.
*)pricingBucket : String_.t option;The pricing bucket applied to this calculation. Different buckets apply based on the travel mode and thresholds used.
*)snappedDestination : Position.t option;The actual point on the road network used for calculations, which may differ from the requested destination if Destination was not directly on a road.
*)snappedOrigin : Position.t option;The actual point on the road network used for calculations, which may differ from the requested origin if Origin was not directly on a road.
*)}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
[> `Double of Double.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of
IsolineConnectionFromPolygonIndexInteger.t
| `List of
[> `List of
[> `List of [> `Double of Double.t ] list ]
list
| `String of PolylineRing.t ]
list
| `Structure of
(string
* [> `List of
[> `List of
[> `Double of Double.t ] list ]
list
| `String of Polyline.t ])
list ])
list ]
list
| `Long of DistanceMeters.t ])
list ]
list
| `String of TimestampWithTimezoneOffset.t ])
list ]