PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized2_is_geodetic()

int gserialized2_is_geodetic ( const GSERIALIZED g)

Check if a GSERIALIZED is a geography.

Definition at line 171 of file gserialized2.c.

172 {
173  return G2FLAGS_GET_GEODETIC(g->gflags);
174 }
#define G2FLAGS_GET_GEODETIC(gflags)
Definition: gserialized2.h:25
uint8_t gflags
Definition: liblwgeom.h:432

References G2FLAGS_GET_GEODETIC, and GSERIALIZED::gflags.

Referenced by gserialized2_set_gbox(), and gserialized_is_geodetic().

Here is the caller graph for this function: