use of net.opengis.gml.v_3_2_1.PointPropertyType in project ddf by codice.
the class Wfs20JTStoGML321Converter method convertToMultiPointType.
public static MultiPointType convertToMultiPointType(MultiPoint multiPoint, String srsName) {
MultiPointType multiPointType = GML320_OBJECT_FACTORY.createMultiPointType();
for (int i = 0; i < multiPoint.getNumGeometries(); i++) {
Point point = (Point) multiPoint.getGeometryN(i);
PointPropertyType pointPropertyType = GML320_OBJECT_FACTORY.createPointPropertyType();
pointPropertyType.setPoint(convertToPointType(point, srsName));
multiPointType.getPointMember().add(pointPropertyType);
}
multiPointType.setSrsName(srsName);
return multiPointType;
}
Aggregations