Package com.kheops.jmap.metadata
Class SpatialQueryFilter
java.lang.Object
com.kheops.jmap.metadata.QueryFilter
com.kheops.jmap.metadata.SpatialQueryFilter
- All Implemented Interfaces:
QueryFilter.GeometryFilter
,Serializable
,Cloneable
A spatial filter used to query spatial data sources. The filter contains a
reference geometry and a condition type that corresponds to one of the
spatial relationship defined by the OGC Simple Feature Model. Only the
geometries that meet the condition against the reference geometry are
returned. For example, if a polygon is specified as the reference geometry,
and if the condition type is SPATIAL_OP_WITHIN, then only the geometries that
are within the polygon will be returned. The projection specifies the
projection of the reference geometry. If null, it is assumed to be the same
as the spatial data source.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.kheops.jmap.metadata.QueryFilter
QueryFilter.GeometryFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.kheops.jmap.metadata.QueryFilter
LOGICAL_AND, LOGICAL_OR
-
Constructor Summary
ConstructorsConstructorDescriptionSpatialQueryFilter
(int operationType, Geometry geometry) SpatialQueryFilter
(int operationType, Geometry geometry, PrecisionModel precisionModel) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.void
setPrecisionModel
(PrecisionModel precisionModel) void
setProjection
(Projection projection) Deprecated.boolean
toString()
Methods inherited from class com.kheops.jmap.metadata.QueryFilter
getDescription, getLogicalOperator, isEnabled, setDescription, setEnabled, setLogicalOperator
-
Field Details
-
SPATIAL_OP_EQUALS
public static final int SPATIAL_OP_EQUALS- See Also:
-
SPATIAL_OP_DISJOINT
public static final int SPATIAL_OP_DISJOINT- See Also:
-
SPATIAL_OP_INTERSECTS
public static final int SPATIAL_OP_INTERSECTS- See Also:
-
SPATIAL_OP_TOUCHES
public static final int SPATIAL_OP_TOUCHES- See Also:
-
SPATIAL_OP_CROSSES
public static final int SPATIAL_OP_CROSSES- See Also:
-
SPATIAL_OP_WITHIN
public static final int SPATIAL_OP_WITHIN- See Also:
-
SPATIAL_OP_CONTAINS
public static final int SPATIAL_OP_CONTAINS- See Also:
-
SPATIAL_OP_OVERLAPS
public static final int SPATIAL_OP_OVERLAPS- See Also:
-
SPATIAL_OP_RELATE
public static final int SPATIAL_OP_RELATE- See Also:
-
SPATIAL_OP_BBOX
public static final int SPATIAL_OP_BBOX- See Also:
-
-
Constructor Details
-
SpatialQueryFilter
public SpatialQueryFilter() -
SpatialQueryFilter
-
SpatialQueryFilter
-
-
Method Details
-
test
- Specified by:
test
in interfaceQueryFilter.GeometryFilter
-
getProjection
Deprecated. -
setProjection
Deprecated. -
setPrecisionModel
-
clone
- Specified by:
clone
in classQueryFilter
-
toString
-