PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
LWGEOM_get_srid()
Datum LWGEOM_get_srid
(
PG_FUNCTION_ARGS
)
Definition at line
96
of file
lwgeom_ogc.c
.
97
{
98
GSERIALIZED
*geom=PG_GETARG_GSERIALIZED_P(0);
99
int32_t srid =
gserialized_get_srid
(geom);
100
PG_FREE_IF_COPY(geom,0);
101
PG_RETURN_INT32(srid);
102
}
gserialized_get_srid
int32_t gserialized_get_srid(const GSERIALIZED *g)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
Definition:
gserialized.c:126
GSERIALIZED
Definition:
liblwgeom.h:429
References
gserialized_get_srid()
.
Here is the call graph for this function:
postgis
lwgeom_ogc.c
Generated by
1.9.1