POLYHEDRALSURFACETYPE.
COLLECTION, MULTIPOINTTYPE, MULTILINETYPE, MULTIPOLYGONTYPE, COMPOUNDTYPE, MULTICURVETYPE, MULTISURFACETYPE, TINTYPE
Definition at line 645 of file lwin_wkb.c.
652 LWDEBUGF(4,
"Collection has %d components", ngeoms);
666 lwerror(
"Geometry has too many chained collections");
669 for ( i = 0; i < ngeoms; i++ )
676 lwerror(
"Unable to add geometry (%p) to collection (%p)", geom, col);
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_ZCLOSURE
#define POLYHEDRALSURFACETYPE
void lwcollection_free(LWCOLLECTION *col)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
#define LWDEBUGF(level, msg,...)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static uint32_t integer_from_wkb_state(wkb_parse_state *s)
Int32 Read 4-byte integer and advance the parse state forward.
#define LW_PARSER_MAX_DEPTH
Max depth in a geometry.
LWGEOM * lwgeom_from_wkb_state(wkb_parse_state *s)
Internal function declarations.
References integer_from_wkb_state(), LW_PARSER_CHECK_ZCLOSURE, LW_PARSER_MAX_DEPTH, lwcollection_add_lwgeom(), lwcollection_construct_empty(), lwcollection_free(), LWDEBUGF, lwerror(), lwgeom_free(), lwgeom_from_wkb_state(), POLYHEDRALSURFACETYPE, and s.
Referenced by lwgeom_from_wkb_state().