Package org.gbif.api.model.predicate
Class GeoDistancePredicate
java.lang.Object
org.gbif.api.model.predicate.GeoDistancePredicate
- All Implemented Interfaces:
Serializable
,Predicate
This predicate checks if an occurrence location falls within a distance of a location.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoDistancePredicate
(String latitude, String longitude, String distance) Builds a new geodistance predicate that matches records within a given distance of a geopoint..GeoDistancePredicate
(DistanceUnit.GeoDistance geoDistance) -
Method Summary
-
Constructor Details
-
GeoDistancePredicate
Builds a new geodistance predicate that matches records within a given distance of a geopoint..- Parameters:
latitude
-longitude
-distance
-
-
GeoDistancePredicate
-
-
Method Details