Nazwa

ST_NumBands — Returns the number of bands in the raster object.

Streszczenie

integer ST_NumBands(raster rast);

Description

Returns the number of bands in the raster object.

Przykłady

Code
SELECT rid, ST_NumBands(rast) As numbands
FROM dummy_rast;
Output
rid | numbands
----+----------
  1 |        0
  2 |        3

Zobacz także

ST_Value