gws.base.search.filter

OGC fes 2.0 filter

Supports

  • Minimum Standard Filter

    PropertyIsEqualTo, PropertyIsNotEqualTo, PropertyIsLessThan, PropertyIsGreaterThan, PropertyIsLessThanOrEqualTo, PropertyIsGreaterThanOrEqualTo. Implements the logical operators. Does not implement any additional functions.

  • Minimum Spatial Filter

    Implements only the BBOX spatial operator.

References

Source code: gws.base.search.filter

Module Contents

exception gws.base.search.filter.Error

Bases: gws.Error

Generic GWS error.

gws.base.search.filter.from_fes_element(el: gws.XmlElement) gws.SearchFilter
gws.base.search.filter.from_fes_string(src: str) gws.SearchFilter
class gws.base.search.filter.Matcher
compare(a, b, op)
get_property(obj, prop)
get_shape(obj)
match_and(flt, obj)
match_bbox(flt, obj)
match_not(flt, obj)
match_or(flt, obj)
match_propertyisequalto(flt, obj)
match_propertyisgreaterthan(flt, obj)
match_propertyisgreaterthanorequalto(flt, obj)
match_propertyislessthan(flt, obj)
match_propertyislessthanorequalto(flt, obj)
match_propertyisnotequalto(flt, obj)
matches(flt: gws.SearchFilter, obj)