Search in sources :

Example 21 with BinarySpatialOpType

use of net.opengis.filter.v_2_0_0.BinarySpatialOpType in project ddf by codice.

the class CswQueryFactoryTest method testPostGetRecordsSpatialWithinOgcFilter.

@Test
public void testPostGetRecordsSpatialWithinOgcFilter() throws CswException, UnsupportedQueryException, SourceUnavailableException, FederationException {
    BinarySpatialOpType op = createBinarySpatialOpType();
    ogcSpatialQuery(Within.class, filterObjectFactory.createWithin(op));
}
Also used : BinarySpatialOpType(net.opengis.filter.v_1_1_0.BinarySpatialOpType) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)17 BinarySpatialOpType (net.opengis.filter.v_1_1_0.BinarySpatialOpType)12 BinarySpatialOpType (net.opengis.filter.v_2_0_0.BinarySpatialOpType)9 FilterType (net.opengis.filter.v_2_0_0.FilterType)9 ArrayList (java.util.ArrayList)3 FilterCapabilities (net.opengis.filter.v_2_0_0.FilterCapabilities)3 SpatialOperatorType (net.opengis.filter.v_2_0_0.SpatialOperatorType)3 FeatureAttributeDescriptor (org.codice.ddf.spatial.ogc.wfs.catalog.common.FeatureAttributeDescriptor)3 GeometryOperand (net.opengis.filter.v_2_0_0.GeometryOperandsType.GeometryOperand)2 UnaryLogicOpType (net.opengis.filter.v_2_0_0.UnaryLogicOpType)2 Geometry (com.vividsolutions.jts.geom.Geometry)1 PropertyNameType (net.opengis.filter.v_1_1_0.PropertyNameType)1 AbstractGeometryType (net.opengis.gml.v_3_1_1.AbstractGeometryType)1 EnvelopeType (net.opengis.gml.v_3_1_1.EnvelopeType)1