Definition at line 665 of file gserialized1.c.
666{
667 size_t size = 4;
668 uint32_t i = 0;
669
670 assert(col);
671
672 size += 4;
673
674 for ( i = 0; i < col->
ngeoms; i++ )
675 {
677 size += subsize;
678 LWDEBUGF(3,
"lwcollection subgeom(%d) size = %d", i, subsize);
679 }
680
681 LWDEBUGF(3,
"lwcollection size = %d", size);
682
683 return size;
684}
static size_t gserialized1_from_any_size(const LWGEOM *geom)
#define LWDEBUGF(level, msg,...)
References LWCOLLECTION::geoms, gserialized1_from_any_size(), LWDEBUGF, and LWCOLLECTION::ngeoms.
Referenced by gserialized1_from_any_size().