<refnamediv>
<refname>ST_IsEmpty</refname>
- <refpurpose>Returns true if this Geometry is an empty geometry. If
- true, then this Geometry represents the empty point set - i.e.
- GEOMETRYCOLLECTION(EMPTY).</refpurpose>
+ <refpurpose>Returns true if this Geometry is an empty geometrycollection, polygon, point etc.</refpurpose>
</refnamediv>
<title>Examples</title>
<programlisting>
-SELECT ST_IsEmpty('GEOMETRYCOLLECTION(EMPTY)');
+SELECT ST_IsEmpty(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY'));
st_isempty
------------
t
/*
- * Construct the empty geometry (GEOMETRYCOLLECTION(EMPTY)).
+ * Construct the empty geometry (GEOMETRYCOLLECTION EMPTY).
*
* Returns serialized form
*/
}
/**
- * Construct the empty geometry (GEOMETRYCOLLECTION(EMPTY))
+ * Construct the empty geometry (GEOMETRYCOLLECTION EMPTY)
* writing it into the provided buffer.
*/
void