コード例 #1
0
 @Override
 public void visit(GeometryCollection geom) {
   writeByteOrder(output);
   DimensionalFlag dimension = DimensionalFlag.valueOf(geom.is3D(), geom.isMeasured());
   writeTypeCodeAndSrid(geom, dimension, output);
   output.putUInt(geom.getNumGeometries());
 }
コード例 #2
0
 @Override
 public <G extends Geometry<P>> void visit(GeometryCollection<P, G> geom) {
   writeByteOrder(output);
   writeTypeCodeAndSrid(geom, output);
   output.putUInt(geom.getNumGeometries());
 }