PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
LWGEOM_ndims()
Datum LWGEOM_ndims
(
PG_FUNCTION_ARGS
)
Definition at line
2015
of file
lwgeom_functions_basic.c
.
2016
{
2017
GSERIALIZED
*in;
2018
int
ret;
2019
2020
in = PG_GETARG_GSERIALIZED_P(0);
2021
ret = (
gserialized_ndims
(in));
2022
PG_FREE_IF_COPY(in, 0);
2023
PG_RETURN_INT16(ret);
2024
}
gserialized_ndims
int gserialized_ndims(const GSERIALIZED *gser)
Return the number of dimensions (2, 3, 4) in a geometry.
Definition:
g_serialized.c:60
GSERIALIZED
Definition:
liblwgeom.h:383
References
gserialized_ndims()
.
Here is the call graph for this function:
postgis
lwgeom_functions_basic.c
Generated by
1.9.1