PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ ST_IsCollection()

Datum ST_IsCollection ( PG_FUNCTION_ARGS  )

Definition at line 2188 of file lwgeom_functions_basic.c.

2189{
2190 GSERIALIZED *geom = PG_GETARG_GSERIALIZED_HEADER(0);
2191 uint32_t lwtype = gserialized_get_type(geom);
2192 PG_RETURN_BOOL(!lwtype_is_unitary(lwtype));
2193}
uint32_t gserialized_get_type(const GSERIALIZED *g)
Extract the geometry type from the serialized form (it hides in the anonymous data area,...
int lwtype_is_unitary(uint32_t lwtype)
Definition lwgeom.c:1132

References gserialized_get_type(), and lwtype_is_unitary().

Here is the call graph for this function: