PostGIS
3.3.9dev-r@@SVN_REVISION@@
◆
LWGEOM_ndims()
Datum LWGEOM_ndims
(
PG_FUNCTION_ARGS
)
Definition at line
2050
of file
lwgeom_functions_basic.c
.
2051
{
2052
GSERIALIZED
*in = PG_GETARG_GSERIALIZED_HEADER(0);
2053
int
ret =
gserialized_ndims
(in);
2054
PG_FREE_IF_COPY(in, 0);
2055
PG_RETURN_INT16(ret);
2056
}
gserialized_ndims
int gserialized_ndims(const GSERIALIZED *g)
Return the number of dimensions (2, 3, 4) in a geometry.
Definition:
gserialized.c:207
GSERIALIZED
Definition:
liblwgeom.h:458
References
gserialized_ndims()
.
Here is the call graph for this function:
postgis
lwgeom_functions_basic.c
Generated by
1.9.1