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

◆ 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 at line 167 of file gserialized.c.

168{
170 gserialized2_set_srid(g, srid);
171 else
172 gserialized1_set_srid(g, srid);
173}
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:41
uint8_t gflags
Definition liblwgeom.h:446

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

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

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