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

◆ ST_IsCollection()

Datum ST_IsCollection ( PG_FUNCTION_ARGS  )

Definition at line 2161 of file lwgeom_functions_basic.c.

2162{
2163 GSERIALIZED *geom = PG_GETARG_GSERIALIZED_HEADER(0);
2164 uint32_t lwtype = gserialized_get_type(geom);
2165 PG_RETURN_BOOL(!lwtype_is_unitary(lwtype));
2166}
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:1104

References gserialized_get_type(), and lwtype_is_unitary().

Here is the call graph for this function: