PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_is_geodetic()

int gserialized_is_geodetic ( const GSERIALIZED gser)

Check if a GSERIALIZED is a geography.

Definition at line 65 of file g_serialized.c.

References GSERIALIZED::flags, and FLAGS_GET_GEODETIC.

Referenced by postgis_valid_typmod().

66 {
67  return FLAGS_GET_GEODETIC(gser->flags);
68 }
#define FLAGS_GET_GEODETIC(flags)
Definition: liblwgeom.h:143
uint8_t flags
Definition: liblwgeom.h:383
Here is the caller graph for this function: