estimateCollection method

int estimateCollection(
  1. GeometryCollection geom
)

Implementation

int estimateCollection(GeometryCollection geom) {
  // 4-byte count + subgeometries
  int est = 4;
  for (var i = 0; i < geom.getNumGeometries(); i++) {
    est += estimateBytes(geom.getGeometryN(i));
  }
  return est;
  // return 4 + estimateGeometryArray(geom.getGeometries());
}