PostGIS  2.5.0dev-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:142
uint8_t flags
Definition: liblwgeom.h:385
Here is the caller graph for this function: