Definition at line 648 of file lwout_wkb.c.
661 switch ( geom->
type )
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define POLYHEDRALSURFACETYPE
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static size_t lwcollection_to_wkb_size(const LWCOLLECTION *col, uint8_t variant)
static size_t lwtriangle_to_wkb_size(const LWTRIANGLE *tri, uint8_t variant)
static size_t lwpoint_to_wkb_size(const LWPOINT *pt, uint8_t variant)
static size_t empty_to_wkb_size(const LWGEOM *geom, uint8_t variant)
static size_t lwpoly_to_wkb_size(const LWPOLY *poly, uint8_t variant)
static size_t lwline_to_wkb_size(const LWLINE *line, uint8_t variant)
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, empty_to_wkb_size(), LINETYPE, lwcollection_to_wkb_size(), lwerror(), lwgeom_is_empty(), lwline_to_wkb_size(), lwpoint_to_wkb_size(), lwpoly_to_wkb_size(), lwtriangle_to_wkb_size(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, TRIANGLETYPE, LWGEOM::type, LWPOINT::type, variant, and WKB_EXTENDED.
Referenced by lwcollection_to_wkb_size(), and lwgeom_to_wkb().