public interface SpatialExpression extends Expression<FilterGeometry>
| Modifier and Type | Method and Description |
|---|---|
default Predicate |
bbox(double minX,
double minY,
double maxX,
double maxY)
Create a predicate that tests this expression against the provided bounding box.
|
default Predicate |
bbox(double minX,
double minY,
double maxX,
double maxY,
org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Create a predicate that tests this expression against the provided bounding box in the given
coordinate reference system.
|
default Predicate |
bboxLoose(double minX,
double minY,
double maxX,
double maxY)
Create a predicate that loosely tests this expression against the provided bounding box.
|
default Predicate |
bboxLoose(double minX,
double minY,
double maxX,
double maxY,
org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Create a predicate that loosely tests this expression against the provided bounding box in the
given coordinate reference system.
|
default Predicate |
contains(Object other)
Create a predicate that tests to see if this expression contains the provided spatial object.
|
default Predicate |
crosses(Object other)
Create a predicate that tests to see if this expression crosses the provided spatial object.
|
default Predicate |
disjoint(Object other)
Create a predicate that tests to see if this expression is disjoint to the provided spatial
object.
|
default Predicate |
disjointLoose(Object other)
Create a predicate that tests to see if this expression is disjoint to the provided spatial
object.
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS(DataTypeAdapter<?> adapter)
Get the coordinate reference system for this expression.
|
default Predicate |
intersects(Object other)
Create a predicate that tests to see if this expression intersects the provided spatial object.
|
default Predicate |
intersectsLoose(Object other)
Create a predicate that tests to see if this expression intersects the provided spatial object.
|
default Predicate |
isEqualTo(Object other)
Create a predicate that tests to see if this expression is topologically equal to the provided
spatial object.
|
default Predicate |
isNotEqualTo(Object other)
Create a predicate that tests to see if this expression is not topologically equal to the
provided spatial object.
|
default Predicate |
overlaps(Object other)
Create a predicate that tests to see if this expression overlaps the provided spatial object.
|
static SpatialExpression |
toSpatialExpression(Object obj)
Convert the given object into a spatial expression, if it is not already one.
|
default Predicate |
touches(Object other)
Create a predicate that tests to see if this expression touches the provided spatial object.
|
default Predicate |
within(Object other)
Create a predicate that tests to see if this expression is within the provided spatial object.
|
addReferencedFields, evaluateValue, evaluateValue, isLiteral, isNotNull, isNullfromBinary, toBinaryorg.opengis.referencing.crs.CoordinateReferenceSystem getCRS(DataTypeAdapter<?> adapter)
adapter - the adapter being filtereddefault Predicate bbox(double minX, double minY, double maxX, double maxY)
minX - the minimum X valueminY - the minimum Y valuemaxX - the maximum X valuemaxY - the maximum Y valuedefault Predicate bbox(double minX, double minY, double maxX, double maxY, org.opengis.referencing.crs.CoordinateReferenceSystem crs)
minX - the minimum X valueminY - the minimum Y valuemaxX - the maximum X valuemaxY - the maximum Y valuecrs - the coordinate reference system of the bounding boxdefault Predicate bboxLoose(double minX, double minY, double maxX, double maxY)
minX - the minimum X valueminY - the minimum Y valuemaxX - the maximum X valuemaxY - the maximum Y valuedefault Predicate bboxLoose(double minX, double minY, double maxX, double maxY, org.opengis.referencing.crs.CoordinateReferenceSystem crs)
minX - the minimum X valueminY - the minimum Y valuemaxX - the maximum X valuemaxY - the maximum Y valuecrs - the coordinate reference system of the bounding boxdefault Predicate intersects(Object other)
other - the spatial object to test againstdefault Predicate intersectsLoose(Object other)
other - the spatial object to test againstdefault Predicate disjoint(Object other)
other - the spatial object to test againstdefault Predicate disjointLoose(Object other)
other - the spatial object to test againstdefault Predicate contains(Object other)
other - the spatial object to test againstdefault Predicate within(Object other)
other - the spatial object to test againstdefault Predicate touches(Object other)
other - the spatial object to test againstdefault Predicate crosses(Object other)
other - the spatial object to test againstdefault Predicate overlaps(Object other)
other - the spatial object to test againstdefault Predicate isEqualTo(Object other)
isEqualTo in interface Expression<FilterGeometry>other - the spatial object to test againstdefault Predicate isNotEqualTo(Object other)
isNotEqualTo in interface Expression<FilterGeometry>other - the spatial object to test againststatic SpatialExpression toSpatialExpression(Object obj)
obj - the object to convertCopyright © 2013–2021. All rights reserved.