Definition at line 751 of file gserialized2.c.
752{
753 size_t size = 4;
754 uint32_t i = 0;
755
756 assert(col);
757
758 size += 4;
759
760 for (i = 0; i < col->
ngeoms; i++)
761 {
763 size += subsize;
764 LWDEBUGF(3,
"lwcollection subgeom(%d) size = %d", i, subsize);
765 }
766
767 LWDEBUGF(3,
"lwcollection size = %d", size);
768
769 return size;
770}
static size_t gserialized2_from_any_size(const LWGEOM *geom)
#define LWDEBUGF(level, msg,...)
References LWCOLLECTION::geoms, gserialized2_from_any_size(), LWDEBUGF, and LWCOLLECTION::ngeoms.
Referenced by gserialized2_from_any_size().