Search in sources :

Example 1 with BoxType

use of ogc.schema.opengis.gml.v_2_1_2.BoxType in project ddf by codice.

the class WfsFilterDelegate method buildBBoxType.

private JAXBElement<BBOXType> buildBBoxType(String propertyName, String wkt) {
    BBOXType bboxType = new BBOXType();
    JAXBElement<BoxType> box = createBoxType(wkt);
    bboxType.setBox(box.getValue());
    bboxType.setPropertyName(createPropertyNameType(propertyName).getValue());
    return filterObjectFactory.createBBOX(bboxType);
}
Also used : BBOXType(ogc.schema.opengis.filter.v_1_0_0.BBOXType) BoxType(ogc.schema.opengis.gml.v_2_1_2.BoxType)

Example 2 with BoxType

use of ogc.schema.opengis.gml.v_2_1_2.BoxType in project ddf by codice.

the class WfsFilterDelegate method createBoxType.

private JAXBElement<BoxType> createBoxType(String wkt) {
    BoxType box = new BoxType();
    box.setSrsName(srsName);
    box.setCoordinates(createCoordinatesTypeFromWkt(wkt).getValue());
    return gmlObjectFactory.createBox(box);
}
Also used : BoxType(ogc.schema.opengis.gml.v_2_1_2.BoxType)

Aggregations

BoxType (ogc.schema.opengis.gml.v_2_1_2.BoxType)2 BBOXType (ogc.schema.opengis.filter.v_1_0_0.BBOXType)1