use of net.opengis.gml.v_3_2_1.CurvePropertyType in project ddf by codice.
the class Wfs20JTStoGML321Converter method convertToRingType.
public static RingType convertToRingType(LinearRing line, String srsName) {
RingType ringType = GML320_OBJECT_FACTORY.createRingType();
CurvePropertyType curvePropertyType = GML320_OBJECT_FACTORY.createCurvePropertyType();
LineStringType curve = convertToLineStringType(line, srsName);
JAXBElement<LineStringType> lineStringTypeJAXBElement = GML320_OBJECT_FACTORY.createLineString(curve);
curvePropertyType.setAbstractCurve(lineStringTypeJAXBElement);
ringType.getCurveMember().add(curvePropertyType);
return ringType;
}
use of net.opengis.gml.v_3_2_1.CurvePropertyType in project ddf by codice.
the class Wfs20JTStoGML321Converter method createCurvePropertyType.
private static CurvePropertyType createCurvePropertyType(LineString lineString) {
final CurvePropertyType curvePropertyType = GML320_OBJECT_FACTORY.createCurvePropertyType();
curvePropertyType.setAbstractCurve(createElementJAXB(lineString));
return curvePropertyType;
}
Aggregations