Definition at line 295 of file lwout_twkb.c.
296{
297 uint32_t i;
298 int nempty = 0;
299
300 LWDEBUGF(2,
"Entered %s", __func__);
302
303
305 {
306 for ( i = 0; i < col->
ngeoms; i++ )
308 nempty++;
309 }
310
311
313
314
316 {
317 for ( i = 0; i < col->
ngeoms; i++ )
318 {
319
321 continue;
322
324 }
325
326
328 }
329
330 for ( i = 0; i < col->
ngeoms; i++ )
331 {
332
334 continue;
335
337 }
338 return 0;
339}
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_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
static int lwgeom_to_twkb_buf(const LWGEOM *geom, TWKB_GLOBALS *globals, TWKB_STATE *ts)
References bytebuffer_append_uvarint(), bytebuffer_append_varint(), TWKB_STATE::geom_buf, LWCOLLECTION::geoms, TWKB_STATE::idlist, LWDEBUGF, lwgeom_is_empty(), lwgeom_to_twkb_buf(), MULTIPOINTTYPE, LWCOLLECTION::ngeoms, and LWCOLLECTION::type.
Referenced by lwgeom_to_twkb_buf().