Package com.luciad.ogc.filter.evaluator
package com.luciad.ogc.filter.evaluator
This package provides classes to evaluate an OGC 1.0/1.1/2.0 filter.
This can be achieved by using the TLcdOGCFilterEvaluator
class to build an ILcdFilter
from a TLcdOGCFilter
.
The most important classes of this package are:
TLcdOGCFilterEvaluator
: this class is responsible for evaluating an OGC filter.ILcdEvaluatorFunction
: this interface allows to extend the standard OGC filter functionality with custom filter functions.
The following code snippet illustrates how to evaluate a set of elements against a filter.
List
The developer guide contains more examples on how to create and evaluate filters.
- Since:
- 6.1
-
ClassDescriptionDeprecated.Deprecated.There is no need to implement this interface yourself, or to use this interface directly.
Evaluating a filter is done by creating aTLcdOGCFilterEvaluator
instance.This interface represents the logic to evaluate an extension of the standard filtering functionality.Interface for classes that can return the feature ID of a given object.This is the common interface for all implementations able to evaluate or interpret an OGC filter (seeTLcdOGCFilter
).This interface allows to abstract the way a property is obtained from a given object.This interface allows to abstract the way an OGC XPath expression can reference a property of a given object.Deprecated.ImplementILcdEvaluatorFunction
to support your own OGC functions.This implementation ofILcdPropertyRetrieverProvider
resolves OGC XPath expressions onILcdDataObject
objects.This implementation ofILcdPropertyRetrieverProvider
uses a given instance ofILcdFeaturedDescriptor
for mapping OGC property names on features of aILcdFeatured
object.This implementation ofILcdPropertyRetrieverProvider
uses a given instance ofILcdFeaturedDescriptorProvider
for mapping OGC property names on features of aILcdFeatured
object.This class holds a feature ID retriever, a property retriever provider and a default georeference with which an implementation ofILcdOGCFilterEvaluator
must be provided in order to be able to interpret a filter or an expression.This class allows to convert aTLcdOGCFilter
into anILcdDynamicFilter
which can be used to determine whether objects pass the filter or not.Deprecated.This class only contains one static utility method, which is the equivalent ofILcdPropertyRetrieverProvider.createDefaultPropertyRetrieverProvider(ILcdModel)
This class is an implementation ofILcdPropertyRetriever
that returns the object itself.This class is an implementation ofILcdPropertyRetrieverProvider
that returns a instance ofTLcdSelfPropertyRetriever
.Deprecated.This class is deprecated becauseILcdXMLElement
has been deprecated.
Evaluating a filter is done by creating a
TLcdOGCFilterEvaluator
instance.