Nome

ST_IsEmpty — Restituisce true se il raster è vuoto (larghezza = 0 e altezza = 0). Altrimenti, restituisce false.

Sinossi

boolean ST_IsEmpty(raster rast);

Description

Restituisce true se il raster è vuoto (larghezza = 0 e altezza = 0). Altrimenti, restituisce false.

Disponibilità: 2.0.0

Esempi

Code
SELECT ST_IsEmpty(ST_MakeEmptyRaster(100, 100, 0, 0, 0, 0, 0, 0))
Output
f
Code
SELECT ST_IsEmpty(ST_MakeEmptyRaster(0, 0, 0, 0, 0, 0, 0, 0))
Output
t

Si veda anche

ST_HasNoBand