198199200201202203204
for (int i = shapeIdx; i < shapes.length; i++) { if (shapes[i].parentOffset == shapeIdx) { points.add(decodePoint(i)); } } return new MultiPoint(points.toArray(new Point[0])); }
232233234235236237238
private static MultiPoint convert(org.postgis.MultiPoint geometry) { Point[] points = new Point[geometry.numPoints()]; for (int i = 0; i < points.length; i++) { points[i] = convert(geometry.getPoint(i)); } return new MultiPoint(points); }
5253545556575859606162
// TODO // multipoint data.add(MultiPoint.createEmpty()); for (int i = 0; i < 6; i++) { data.add(new MultiPoint(new Point[]{(Point)data.get(i)})); } // multilinestring int size = data.size(); data.add(MultiLineString.createEmpty());