---
title: "ST_Width"
draft: false
hidden: true
---
ST_Width — Returns the width of the raster in pixels.
integer
ST_Width
(
raster
rast
)
;
Returns the width of the raster in pixels.
SELECT ST_Width(rast) As rastwidth FROM dummy_rast WHERE rid=1; rastwidth ---------------- 10