Name

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

Synopsis

boolean ST_IsEmpty(raster rast);

Descrizione

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

Disponibilità: 2.0.0

Esempi

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

Si veda anche

ST_HasNoBand