readGeometryCollection method
Implementation
GeometryCollection readGeometryCollection() {
int numGeom = dis.readInt();
List<Geometry> geoms = []; //..length = (numGeom);
for (int i = 0; i < numGeom; i++) {
geoms.add(readGeometry());
// geoms[i] = readGeometry();
}
return factory.createGeometryCollection(geoms);
}