Class DistanceTupleFunction

  • All Implemented Interfaces:
    TupleFunction

    @Deprecated
    public class DistanceTupleFunction
    extends Object
    implements TupleFunction
    Deprecated.
    since 3.0. The LuceneSpinSail is to removed in the next major release.
    Arguments:
    1. from is the WKT point to measure from.
    2. maxDistance is the maximum distance to consider.
    3. units are the measurement units.
    4. geoProperty is the predicate to use.
    5. search:distance else omitted.
    6. search:context else omitted.
    Results:
    1. subject is the subject whose geometry is within the given max distance.
    2. to is the WKT of the shape measured to.
    3. distance is the distance to the shape if search:distance is present.
    4. context is the context if search:context is present.