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

◆ gserialized2_get_type()

uint32_t gserialized2_get_type ( const GSERIALIZED g)

Extract the geometry type from the serialized form (it hides in the anonymous data area, so this is a handy function).

Definition at line 184 of file gserialized2.c.

185{
186 uint8_t *ptr = gserialized2_get_geometry_p(g);
187 return *((uint32_t*)(ptr));
188}
static uint8_t * gserialized2_get_geometry_p(const GSERIALIZED *g)

References gserialized2_get_geometry_p().

Referenced by gserialized2_peek_gbox_p(), gserialized_get_type(), and lwgeom_from_gserialized2().

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