MULTIPOINT.
Definition at line 336 of file lwin_twkb.c.
References twkb_parse_state::has_idlist, twkb_parse_state::has_m, twkb_parse_state::has_z, twkb_parse_state::is_empty, lwcollection_add_lwgeom(), lwcollection_construct_empty(), LWDEBUG, LWDEBUGF, lwerror(), lwpoint_as_lwgeom(), lwpoint_from_twkb_state(), twkb_parse_state::lwtype, SRID_UNKNOWN, twkb_parse_state_uvarint(), and twkb_parse_state_varint_skip().
Referenced by lwgeom_from_twkb_state().
342 LWDEBUG(2,
"Entering lwmultipoint_from_twkb_state");
349 LWDEBUGF(4,
"Number of geometries %d", ngeoms);
354 for ( i = 0; i < ngeoms; i++ )
358 for ( i = 0; i < ngeoms; i++ )
363 lwerror(
"Unable to add geometry (%p) to collection (%p)", geom, col);
#define LWDEBUG(level, msg)
#define SRID_UNKNOWN
Unknown SRID value.
static uint64_t twkb_parse_state_uvarint(twkb_parse_state *s)
static LWPOINT * lwpoint_from_twkb_state(twkb_parse_state *s)
POINT.
LWGEOM * lwpoint_as_lwgeom(const LWPOINT *obj)
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
#define LWDEBUGF(level, msg,...)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
static void twkb_parse_state_varint_skip(twkb_parse_state *s)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.