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

◆ LWGEOM_ndims()

Datum LWGEOM_ndims ( PG_FUNCTION_ARGS  )

Definition at line 1992 of file lwgeom_functions_basic.c.

1993{
1994 GSERIALIZED *in = PG_GETARG_GSERIALIZED_P(0);
1995 int ret = gserialized_ndims(in);
1996 PG_FREE_IF_COPY(in, 0);
1997 PG_RETURN_INT16(ret);
1998}
int gserialized_ndims(const GSERIALIZED *g)
Return the number of dimensions (2, 3, 4) in a geometry.

References gserialized_ndims().

Here is the call graph for this function: