Search in sources :

Example 1 with CurvePropertyType

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;
}
Also used : CurvePropertyType(net.opengis.gml.v_3_2_1.CurvePropertyType) LineStringType(net.opengis.gml.v_3_2_1.LineStringType) RingType(net.opengis.gml.v_3_2_1.RingType)

Example 2 with CurvePropertyType

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;
}
Also used : CurvePropertyType(net.opengis.gml.v_3_2_1.CurvePropertyType)

Aggregations

CurvePropertyType (net.opengis.gml.v_3_2_1.CurvePropertyType)2 LineStringType (net.opengis.gml.v_3_2_1.LineStringType)1 RingType (net.opengis.gml.v_3_2_1.RingType)1