PostGIS 3.7.0dev-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 155 of file gserialized.c.

156{
158 return gserialized2_get_srid(g);
159 else
160 return gserialized1_get_srid(g);
161}
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:41
uint8_t gflags
Definition liblwgeom.h:446