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

◆ gserialized_hash()

int32_t gserialized_hash ( const GSERIALIZED g)
extern

Returns a hash code for the srid/type/geometry information in the GSERIALIZED.

Ignores metadata like flags and optional boxes, etc.

Definition at line 114 of file gserialized.c.

115{
117 return gserialized2_hash(g);
118 else
119 return gserialized1_hash(g);
120}
int32_t gserialized1_hash(const GSERIALIZED *g1)
Returns a hash code for the srid/type/geometry information in the GSERIALIZED.
int32_t gserialized2_hash(const GSERIALIZED *g1)
Returns a hash code for the srid/type/geometry information in the GSERIALIZED.
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:12
uint8_t gflags
Definition liblwgeom.h:432