Definition at line 345 of file lwout_twkb.c.
346{
347 uint32_t i;
348
349 LWDEBUGF(2,
"Entered %s", __func__);
350 LWDEBUGF(4,
"Number of geometries in collection is %d", col->
ngeoms);
351
352
354
355
357 {
358 for ( i = 0; i < col->
ngeoms; i++ )
360
361
363 }
364
365
366 for ( i = 0; i < col->
ngeoms; i++ )
367 {
369 }
370 return 0;
371}
void bytebuffer_append_uvarint(bytebuffer_t *b, const uint64_t val)
Writes a unsigned varInt to the buffer.
void bytebuffer_append_varint(bytebuffer_t *b, const int64_t val)
Writes a signed varInt to the buffer.
#define LWDEBUGF(level, msg,...)
static int lwgeom_write_to_buffer(const LWGEOM *geom, TWKB_GLOBALS *globals, TWKB_STATE *parent_state)
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().