PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ gserialized1_get_lwflags()

lwflags_t gserialized1_get_lwflags ( const GSERIALIZED g)

Read the flags from a GSERIALIZED and return a standard lwflag integer.

Definition at line 41 of file gserialized1.c.

42 {
43  lwflags_t lwflags = 0;
44  uint8_t gflags = g->gflags;
50  return lwflags;
51 }
#define G1FLAGS_GET_M(gflags)
Definition: gserialized1.h:17
#define G1FLAGS_GET_SOLID(gflags)
Definition: gserialized1.h:20
#define G1FLAGS_GET_BBOX(gflags)
Definition: gserialized1.h:18
#define G1FLAGS_GET_GEODETIC(gflags)
Definition: gserialized1.h:19
#define G1FLAGS_GET_Z(gflags)
Definition: gserialized1.h:16
uint16_t lwflags_t
Definition: liblwgeom.h:299
#define FLAGS_SET_BBOX(flags, value)
Definition: liblwgeom.h:174
#define FLAGS_SET_GEODETIC(flags, value)
Definition: liblwgeom.h:175
lwflags_t lwflags(int hasz, int hasm, int geodetic)
Construct a new flags bitmask.
Definition: lwutil.c:471
#define FLAGS_SET_M(flags, value)
Definition: liblwgeom.h:173
#define FLAGS_SET_Z(flags, value)
Definition: liblwgeom.h:172
#define FLAGS_SET_SOLID(flags, value)
Definition: liblwgeom.h:177
uint8_t gflags
Definition: liblwgeom.h:446

References FLAGS_SET_BBOX, FLAGS_SET_GEODETIC, FLAGS_SET_M, FLAGS_SET_SOLID, FLAGS_SET_Z, G1FLAGS_GET_BBOX, G1FLAGS_GET_GEODETIC, G1FLAGS_GET_M, G1FLAGS_GET_SOLID, G1FLAGS_GET_Z, GSERIALIZED::gflags, and lwflags().

Referenced by gserialized1_peek_gbox_p(), gserialized1_read_gbox_p(), gserialized_get_lwflags(), and lwgeom_from_gserialized1().

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