ST_SetNoData

更新时间:
复制 MD 格式

Sets the NoData value for a specified band of a raster object.

Syntax

raster ST_SetNoData(raster rast, integer band_sn, double nodata_value);

Parameters

Parameter

Description

rast

The raster object.

band

The band sequence number, starting from 0. Use -1 to target all bands.

nodata_value

The NoData value of the band.

Examples

update rast set rast=ST_SetNoData(rast,0, 999.999);

__________________________________
(1 row)