Skip to main content

tiles

Creates, updates, deletes, gets or lists a tiles resource.

Overview

Nametiles
TypeResource
Idaws.sagemaker_geospatial.tiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
binary_filestring (byte)The output binary file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_tileselectArn, ImageAssets, Target, x, y, z, regionExecutionRoleArn, ImageMask, OutputDataType, OutputFormat, PropertyFilters, TimeRangeFilterGets 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.

NameDatatypeDescription
ArnstringThe Amazon Resource Name (ARN) of the tile operation.
ImageAssetsarrayThe particular assets or bands to tile.
TargetstringDetermines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options.
regionstringAWS region (default: us-east-1)
xintegerThe x coordinate of the tile input.
yintegerThe y coordinate of the tile input.
zintegerThe z coordinate of the tile input.
ExecutionRoleArnstringThe Amazon Resource Name (ARN) of the IAM role that you specify.
ImageMaskbooleanDetermines whether or not to return a valid data mask.
OutputDataTypestringThe output data type of the tile operation.
OutputFormatstringThe data format of the output tile. The formats include .npy, .png and .jpg.
PropertyFiltersstringProperty filters for the imagery to tile.
TimeRangeFilterstringTime range filter applied to imagery to find the images to tile.

SELECT examples

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 }}'
;