Skip to main content

isolines

Creates, updates, deletes, gets or lists an isolines resource.

Overview​

Nameisolines
TypeResource
Idaws.geo_routes.isolines

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
calculate_isolinesexecregion, ThresholdskeyCalculates 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.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
keystringAn Amazon Location Service API Key with access to this action. If omitted, the request must be signed using Signature Version 4.

Lifecycle Methods​

Calculates 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.

EXEC aws.geo_routes.isolines.calculate_isolines
@region='{{ region }}' --required,
@key='{{ key }}'
@@json=
'{
"Allow": "{{ Allow }}",
"ArrivalTime": "{{ ArrivalTime }}",
"Avoid": "{{ Avoid }}",
"DepartNow": {{ DepartNow }},
"DepartureTime": "{{ DepartureTime }}",
"Destination": "{{ Destination }}",
"DestinationOptions": "{{ DestinationOptions }}",
"IsolineGeometryFormat": "{{ IsolineGeometryFormat }}",
"IsolineGranularity": "{{ IsolineGranularity }}",
"OptimizeIsolineFor": "{{ OptimizeIsolineFor }}",
"OptimizeRoutingFor": "{{ OptimizeRoutingFor }}",
"Origin": "{{ Origin }}",
"OriginOptions": "{{ OriginOptions }}",
"Thresholds": "{{ Thresholds }}",
"Traffic": "{{ Traffic }}",
"TravelMode": "{{ TravelMode }}",
"TravelModeOptions": "{{ TravelModeOptions }}"
}'
;