This function returns the width of a raster object. For more information about how to obtain the width of a chunk, see ST_ChuckWidth.

Syntax

integer ST_Width(raster raster_obj);

Parameters

Parameter Description
raster_obj The raster object.

Examples

select ST_Width(raster_obj) from raster_table;

——————————————————————————————
10060