@geogirafe/lib-geoportal
    Preparing search index...

    Class WfsFilterCondition<WfsXmlTypes>

    Base class for all filter conditions.

    Type Parameters

    Hierarchy (View Summary)

    Index
    • Type Parameters

      • WfsXmlTypes extends string = string

      Parameters

      • property: string
      • operator:
            | "eq"
            | "neq"
            | "gt"
            | "gte"
            | "lt"
            | "lte"
            | "like"
            | "nlike"
            | "in"
            | "nin"
            | "before"
            | "after"
            | "between"
            | "nbetween"
            | "nul"
            | "nnul"
            | "intersects"
            | "within"
            | "contains"
      • Optionalvalue: string
      • Optionalvalue2: string
      • OptionalpropertyType: WfsXmlTypes

      Returns WfsFilterCondition<WfsXmlTypes>

    operator:
        | "eq"
        | "neq"
        | "gt"
        | "gte"
        | "lt"
        | "lte"
        | "like"
        | "nlike"
        | "in"
        | "nin"
        | "before"
        | "after"
        | "between"
        | "nbetween"
        | "nul"
        | "nnul"
        | "intersects"
        | "within"
        | "contains"
    property: string
    propertyType?: WfsXmlTypes
    propertyTypeGroup?: AttributeTypeGroup
    value: string
    value2: string
    • get supportedOperators(): {
          displayName: string;
          operator: | "eq"
          | "neq"
          | "gt"
          | "gte"
          | "lt"
          | "lte"
          | "like"
          | "nlike"
          | "in"
          | "nin"
          | "before"
          | "after"
          | "between"
          | "nbetween"
          | "nul"
          | "nnul"
          | "intersects"
          | "within"
          | "contains";
      }[]

      Returns the supported operators for the given filter class.

      Returns {
          displayName: string;
          operator:
              | "eq"
              | "neq"
              | "gt"
              | "gte"
              | "lt"
              | "lte"
              | "like"
              | "nlike"
              | "in"
              | "nin"
              | "before"
              | "after"
              | "between"
              | "nbetween"
              | "nul"
              | "nnul"
              | "intersects"
              | "within"
              | "contains";
      }[]

    • Generates a simple text representation of the filter, for example, "attributeName [attributeType] = value" Needs the context to translate the operator and other terms. If instead of the attribute name and type, an alias or translated name should be displayed, provide the string via the optional propertyDisplayName parameter

      Parameters

      Returns string

    • Returns string

      a simple filter string that can be used in a WMS GetMap request, does not provide any XML namespace (xmlns attributes)

    • Parameters

      • filterStrings: string[]
      • logicalOperator: "and" | "or" | "not"

      Returns string

    • Parameters

      • name: string
      • value: string
      • value2: string

      Returns string

    • Parameters

      • name: string
      • value: string
      • OptionalwildCard: string

      Returns string

    • Parameters

      • name: string
      • value: string
      • OptionalwildCard: string

      Returns string

    • Parameters

      • name: string
      • value: string
      • value2: string

      Returns string

    • Parameters

      • name: string
      • value: string
      • OptionalwildCard: string

      Returns string

    • Returns the supported operators for the given attribute type.

      Parameters

      • attributeType: string

      Returns {
          displayName: string;
          operator:
              | "eq"
              | "neq"
              | "gt"
              | "gte"
              | "lt"
              | "lte"
              | "like"
              | "nlike"
              | "in"
              | "nin"
              | "before"
              | "after"
              | "between"
              | "nbetween"
              | "nul"
              | "nnul"
              | "intersects"
              | "within"
              | "contains";
      }[]