Class GeospatialPredicate

java.lang.Object
ddf.catalog.pubsub.predicate.GeospatialPredicate
All Implemented Interfaces:
Predicate

public class GeospatialPredicate extends Object implements Predicate
  • Constructor Details

    • GeospatialPredicate

      public GeospatialPredicate(String wkt, String geoOperation, double distance)
      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

      public static boolean isGeospatial(Map geoCriteria, String geoOperation)
    • matches

      public boolean matches(org.osgi.service.event.Event properties)
      Specified by:
      matches in interface Predicate
    • getGeoCriteria

      public org.locationtech.jts.geom.Geometry getGeoCriteria()
    • getGeoOperation

      public String getGeoOperation()
    • getDistance

      public double getDistance()
    • toString

      public String toString()
      Overrides:
      toString in class Object