Show:

The predicate class for geometry attributes.

Constructor

Query.GeometryPredicate

(
  • attributePath
)

Parameters:

  • attributePath String

    The path to the attribute for predicate.

Methods

and

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using and logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with and logic.

contains

(
  • geometry
)
Query.StringPredicate chainable

Sets the value that the attribute has to contain.

Parameters:

  • geometry String

    The geometry value that has to intersect with the attribute.

Returns:

Query.StringPredicate:

Returns this instance.

createPredicate

(
  • args
)
BasePredicate

Creates predicate by various parameters.

Parameters:

  • args Object

    Arguments for the predicate.

Returns:

or

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using or logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with or logic.

stringToPredicate

(
  • stringPredicate
)
BasePredicate

Convert string to predicate.

Parameters:

Returns:

Properties

attributePath

String public

The path to the attribute for predicate.

intersectsValue

String public

The geometry value that has to intersect with the attribute.