• Creates a condition that evaluates to true when the first expression is lesser than or equal to the second expression.

      FilterFactory.lte(
    FilterFactory.property("total_population"),
    FilterFactory.literal(10000)
    );

    FilterFactory.lte(
    FilterFactory.func("getTotalPopulation"),
    FilterFactory.literal(10000)
    );

    Parameters

    • firstExpression: Expression

      the first expression

    • secondExpression: Expression

      the second expression

    • OptionalmatchCase: boolean

      indicates whether this comparison operator is case sensitive or not. If omitted the string comparisons shall match case.

    • OptionalmatchAction: MatchAction

      specifies how the comparison shall be evaluated for a collection of values. Please refer to the MatchAction class for more details.
      Note: This parameter has been introduced in the OGC Filter specification 2.0.0

    Returns OGCCondition

    A BinaryComparison of type "LessThanOrEqual".