Definition at line 1070 of file g_serialized.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LWGEOM::flags, FLAGS_GET_M, FLAGS_GET_Z, gserialized_from_lwcircstring(), gserialized_from_lwcollection(), gserialized_from_lwline(), gserialized_from_lwpoint(), gserialized_from_lwpoly(), gserialized_from_lwtriangle(), LINETYPE, LWDEBUGF, lwerror(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, TRIANGLETYPE, LWGEOM::type, and LWCOLLECTION::type.
Referenced by gserialized_from_lwcollection(), gserialized_from_lwgeom(), gserialized_from_lwgeom_size(), and test_gserialized_peek_gbox_p_fails_for_unsupported_cases().
1075 LWDEBUGF(2,
"Input type (%d) %s, hasz: %d hasm: %d",
1078 LWDEBUGF(2,
"LWGEOM(%p) uint8_t(%p)", geom, buf);
static size_t gserialized_from_lwcollection(const LWCOLLECTION *coll, uint8_t *buf)
#define POLYHEDRALSURFACETYPE
static size_t gserialized_from_lwtriangle(const LWTRIANGLE *triangle, uint8_t *buf)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
static size_t gserialized_from_lwpoly(const LWPOLY *poly, uint8_t *buf)
static size_t gserialized_from_lwpoint(const LWPOINT *point, uint8_t *buf)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define FLAGS_GET_M(flags)
static size_t gserialized_from_lwcircstring(const LWCIRCSTRING *curve, uint8_t *buf)
#define LWDEBUGF(level, msg,...)
static size_t gserialized_from_lwline(const LWLINE *line, uint8_t *buf)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.