Returns the tile width of a raster object, measured in pixels.
Syntax
integer ST_ChunkWidth(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The 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