PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
LWGEOM_set_srid()
Datum LWGEOM_set_srid
(
PG_FUNCTION_ARGS
)
Definition at line
106
of file
lwgeom_ogc.c
.
107
{
108
GSERIALIZED
*g = (
GSERIALIZED
*)PG_DETOAST_DATUM_COPY(PG_GETARG_DATUM(0));
109
int32_t srid = PG_GETARG_INT32(1);
110
gserialized_set_srid
(g, srid);
111
PG_RETURN_POINTER(g);
112
}
gserialized_set_srid
void gserialized_set_srid(GSERIALIZED *g, int32_t srid)
Write the SRID into the serialized form (it is packed into three bytes so this is a handy function).
Definition:
gserialized.c:138
GSERIALIZED
Definition:
liblwgeom.h:429
References
gserialized_set_srid()
.
Here is the call graph for this function:
postgis
lwgeom_ogc.c
Generated by
1.9.1