public static void writeMultiPoint ( ByteWriter writer , MultiPoint multiPoint ) throws IOException { writer . writeInt ( multiPoint . numPoints ( ) ) ; for ( Point point : multiPoint . getPoints ( ) ) { writeGeometry ( writer , point ) ; } }
Write a Multi Point