Definition at line 333 of file lwout_twkb.c.
References bytebuffer_append_uvarint(), bytebuffer_append_varint(), TWKB_STATE::geom_buf, LWCOLLECTION::geoms, TWKB_STATE::idlist, LWDEBUGF, lwgeom_write_to_buffer(), and LWCOLLECTION::ngeoms.
Referenced by lwgeom_to_twkb_buf().
337 LWDEBUGF(2,
"Entered %s", __func__);
338 LWDEBUGF(4,
"Number of geometries in collection is %d", col->
ngeoms);
346 for ( i = 0; i < col->
ngeoms; i++ )
354 for ( i = 0; i < col->
ngeoms; i++ )
void bytebuffer_append_uvarint(bytebuffer_t *b, const uint64_t val)
Writes a unsigned varInt to the buffer.
static int lwgeom_write_to_buffer(const LWGEOM *geom, TWKB_GLOBALS *globals, TWKB_STATE *parent_state)
#define LWDEBUGF(level, msg,...)
void bytebuffer_append_varint(bytebuffer_t *b, const int64_t val)
Writes a signed varInt to the buffer.