Returns the tile width of a raster object, in pixels.
Syntax
integer ST_ChunkWidth(raster raster_obj)Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object to query. |
Description
Returns the tile width of the specified raster object in pixels. Use ST_ChunkWidth together with ST_ChunkHeight to get the full tile dimensions of a raster object.
Examples
select ST_ChunkWidth(rast)
from raster_table;Output:
st_chunkwidth
----------
256