tiles
Creates, updates, deletes, gets or lists a tiles resource.
Overview
| Name | tiles |
| Type | Resource |
| Id | aws.sagemaker_geospatial.tiles |
Fields
The following fields are returned by SELECT queries:
- get_tile
| Name | Datatype | Description |
|---|---|---|
binary_file | string (byte) | The output binary file. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_tile | select | Arn, ImageAssets, Target, x, y, z, region | ExecutionRoleArn, ImageMask, OutputDataType, OutputFormat, PropertyFilters, TimeRangeFilter | Gets a web mercator tile for the given Earth Observation job. |
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.
| Name | Datatype | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the tile operation. |
ImageAssets | array | The particular assets or bands to tile. |
Target | string | Determines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options. |
region | string | AWS region (default: us-east-1) |
x | integer | The x coordinate of the tile input. |
y | integer | The y coordinate of the tile input. |
z | integer | The z coordinate of the tile input. |
ExecutionRoleArn | string | The Amazon Resource Name (ARN) of the IAM role that you specify. |
ImageMask | boolean | Determines whether or not to return a valid data mask. |
OutputDataType | string | The output data type of the tile operation. |
OutputFormat | string | The data format of the output tile. The formats include .npy, .png and .jpg. |
PropertyFilters | string | Property filters for the imagery to tile. |
TimeRangeFilter | string | Time range filter applied to imagery to find the images to tile. |
SELECT examples
- get_tile
Gets a web mercator tile for the given Earth Observation job.
SELECT
binary_file
FROM aws.sagemaker_geospatial.tiles
WHERE Arn = '{{ Arn }}' -- required
AND ImageAssets = '{{ ImageAssets }}' -- required
AND Target = '{{ Target }}' -- required
AND x = '{{ x }}' -- required
AND y = '{{ y }}' -- required
AND z = '{{ z }}' -- required
AND region = '{{ region }}' -- required
AND ExecutionRoleArn = '{{ ExecutionRoleArn }}'
AND ImageMask = '{{ ImageMask }}'
AND OutputDataType = '{{ OutputDataType }}'
AND OutputFormat = '{{ OutputFormat }}'
AND PropertyFilters = '{{ PropertyFilters }}'
AND TimeRangeFilter = '{{ TimeRangeFilter }}'
;