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

◆ gserialized_set_srid()

void gserialized_set_srid ( GSERIALIZED g,
int32_t  srid 
)
extern

Write the SRID into the serialized form (it is packed into three bytes so this is a handy function).

Definition at line 138 of file gserialized.c.

139{
141 return gserialized2_set_srid(g, srid);
142 else
143 return gserialized1_set_srid(g, srid);
144}
void gserialized1_set_srid(GSERIALIZED *s, int32_t srid)
Write the SRID into the serialized form (it is packed into three bytes so this is a handy function).
void gserialized2_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).
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:12
uint8_t gflags
Definition liblwgeom.h:432

References GSERIALIZED::gflags, GFLAGS_GET_VERSION, gserialized1_set_srid(), and gserialized2_set_srid().

Referenced by BOX3D_to_LWGEOM(), LWGEOM_from_WKB(), and LWGEOM_set_srid().

Here is the call graph for this function:
Here is the caller graph for this function: