All Products
Search
Document Center

ApsaraDB RDS:ST_ChunkWidth

Last Updated:Mar 28, 2026

Returns the tile width of the specified raster object, measured in pixels.

Syntax

integer ST_ChunkWidth(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object to query.

Description

ST_ChunkWidth returns the tile width of the specified raster object as an integer value in pixels.

Example

Query the tile width of a raster object:

SELECT ST_ChunkWidth(rast) AS chunk_width
FROM raster_table;

Example output:

 chunk_width
-------------
         256