public class IntersectsTests extends QueryFilterFixture
a.Intersects(b) ⇔ ! a.Disjoint(b)
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPL_SPATIAL_FILTER |
dataSampler, GET_FEATURE_MINIMAL, modeldocBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion| Constructor and Description |
|---|
IntersectsTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addSpatialPredicate(Document request,
String spatialOp,
Element gmlGeom,
Element valueRef)
Adds a spatial predicate to a GetFeature request entity.
|
void |
createGeometryBaseType()
Creates an XSTypeDefinition object representing the
gml:AbstractGeometryType definition.
|
void |
implementsIntersectsOp()
Checks if the spatial operator "Intersects" is supported.
|
void |
implementsSpatialFilter(ITestContext testContext)
Checks the value of the filter constraint "ImplementsSpatialFilter"
in the capabilities document.
|
void |
intersectsPolygon(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing an Intersects
predicate with a gml:Polygon operand. |
buildRequestEntity, discardResponseEntity, initQueryFilterFixtureaddAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClientpublic static final String IMPL_SPATIAL_FILTER
public void implementsSpatialFilter(ITestContext testContext)
testContext - Information about the test run environment.public void createGeometryBaseType()
public void implementsIntersectsOp()
public void intersectsPolygon(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing an Intersects
predicate with a gml:Polygon operand. The response entity must be
schema-valid and contain only instances of the requested type that
intersect the given polygon.binding - The ProtocolBinding to use for this request.featureType - A QName representing the qualified name of some feature type.void addSpatialPredicate(Document request, String spatialOp, Element gmlGeom, Element valueRef)
request - The request entity (wfs:GetFeature).spatialOp - The name of a spatial operator.gmlGeom - A DOM Element representing a GML geometry.valueRef - An Element (fes:ValueReference) that specifies the spatial
property to check. If it is null, the predicate
applies to all spatial properties.Copyright © 2016 Open Geospatial Consortium. All rights reserved.