Package ddf.catalog.pubsub.predicate
Class GeospatialPredicate
java.lang.Object
ddf.catalog.pubsub.predicate.GeospatialPredicate
- All Implemented Interfaces:
Predicate
-
Constructor Summary
ConstructorsConstructorDescriptionGeospatialPredicate(String wkt, String geoOperation, double distance) Instantiates a new geospatial predicate.GeospatialPredicate(org.locationtech.jts.geom.Geometry geo, String geoOperation, double distance) -
Method Summary
Modifier and TypeMethodDescriptiondoubleorg.locationtech.jts.geom.Geometrystatic booleanisGeospatial(Map geoCriteria, String geoOperation) booleanmatches(org.osgi.service.event.Event properties) toString()
-
Constructor Details
-
GeospatialPredicate
Instantiates a new geospatial predicate.- Parameters:
wkt- A string of well known text.geoOperation- the geo operation
-
GeospatialPredicate
public GeospatialPredicate(org.locationtech.jts.geom.Geometry geo, String geoOperation, double distance)
-
-
Method Details
-
isGeospatial
-
matches
public boolean matches(org.osgi.service.event.Event properties) -
getGeoCriteria
public org.locationtech.jts.geom.Geometry getGeoCriteria() -
getGeoOperation
-
getDistance
public double getDistance() -
toString
-