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);
}
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);
}