Interface DistanceBufferOperator

  • All Superinterfaces:
    BinarySpatialOperator, Filter, SpatialOperator
    All Known Subinterfaces:
    Beyond, DWithin

    public interface DistanceBufferOperator
    extends BinarySpatialOperator
    Abstract superclass for spatial operators that check that one shape satisfies some relation to a buffer around another shape. This could be used to find, for example, all the geometries that come within 10 meters of a river.
    GeoAPI 2.0
    • Method Detail

      • getDistance

        double getDistance()
        Returns the buffer distance around the geometry that will be used when comparing features' geometries.
      • getDistanceUnits

        String getDistanceUnits()
        Gets the units of measure that can be used to interpret the distance value held by this object. An implementation may throw an exception if these units differ from the units of the coordinate system of its geometry or the feature's geometry.