COLLECTION, MULTIPOINTTYPE, MULTILINETYPE, MULTIPOLYGONTYPE.
Definition at line 452 of file lwin_twkb.c.
458 LWDEBUG(2,
"Entering lwcollection_from_twkb_state");
466 LWDEBUGF(4,
"Number of geometries %d",ngeoms);
471 for ( i = 0; i < ngeoms; i++ )
475 for ( i = 0; i < ngeoms; i++ )
480 lwerror(
"Unable to add geometry (%p) to collection (%p)", geom, col);
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
#define SRID_UNKNOWN
Unknown SRID value.
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static void twkb_parse_state_varint_skip(twkb_parse_state *s)
LWGEOM * lwgeom_from_twkb_state(twkb_parse_state *s)
Internal function declarations.
static uint64_t twkb_parse_state_uvarint(twkb_parse_state *s)
References lwcollection_add_lwgeom(), lwcollection_construct_empty(), LWDEBUG, LWDEBUGF, lwerror(), lwgeom_from_twkb_state(), s, SRID_UNKNOWN, twkb_parse_state_uvarint(), and twkb_parse_state_varint_skip().
Referenced by lwgeom_from_twkb_state().