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

◆ gserialized_get_srid()

int32_t gserialized_get_srid ( const GSERIALIZED g)
extern

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

Definition at line 126 of file gserialized.c.

127{
129 return gserialized2_get_srid(g);
130 else
131 return gserialized1_get_srid(g);
132}
int32_t gserialized1_get_srid(const GSERIALIZED *s)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
int32_t gserialized2_get_srid(const GSERIALIZED *g)
Extract the SRID from 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