Description
The ST_IsNullGeom
function performs a null check of the input
geometry.
Syntax
ST_IsNullGeom(WritableGeometry inputGeometry)
Parameters
Parameter |
Type |
Description |
inputGeometry
|
WritableGeometry |
The input geometry to be checked for a null or empty value. |
Return Values
Return Type |
Description |
Boolean |
True , if the geometry is null or empty; otherwise,
False . |
Examples
SELECT ST_IsNullGeom(null);
SELECT ST_IsNullGeom(ST_GeomFromWKT("POINT(10 20)"));
SELECT ST_IsNullGeom(ST_Point(x, y, 'epsg:4326')) FROM src;