ST_ChunkWidth

更新时间: 2026-03-28 11:38:43

Returns the tile width of a 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 width of a single tile in the specified raster object. The width is expressed in pixels.

Examples

SELECT ST_ChunkWidth(rast)
FROM raster_table;

Output:

 st_chunkwidth
-----------
         256
上一篇: ST_ChunkHeight 下一篇: ST_ChunkBands
阿里云首页 云原生数据库 PolarDB 相关技术圈