Operations for Set and Span Types

Input and Output

Constructors

  • set: Constructor for set values

  • span: Constructor for span values

  • spanset: Constructor for span set values

Conversions

Accessors

Transformations

  • shift: Shift the set or span by a value or interval

  • scale: Scale the set or span by a value or interval

  • shiftScale: Shift and scale the set or span by the values or intervals

  • round: Round the bounds of a float set or span to a number of decimal places

  • degrees, radians: Convert a float set to degrees or radians

  • lower, upper, initcap: Transform to lowercase, uppercase, or initcap

  • concat: Text concatenation

  • tprecision: Set the temporal precision of the time value to the interval with respect to the origin

Spatial Reference System

Set Operations

  • +: Union of sets or spans

  • -: Difference of sets or spans

  • *: Intersection of sets or spans

Bounding Box Operations

Topological Operations

  • &&: Do the sets or spans overlap (have values in common)?

  • @>: Does the first set or span contain the second one?

  • <@: Is the first set or span contained by the second one?

  • -|-: Is the first set or span adjacent to the second one?

Position Operations

  • <<, <<#: Is the first set or span scritly to the left of the second one?

  • >>, #>>: Is the first set or span strictly to the right of the second one?

  • &<, &<#: Is the first set or span not to the right of the second one?

  • &>, #&>: Is the first set or span not to the left of the second one?

Distance Operations

  • <->: Return the smallest distance ever

Comparisons

  • =: Are the values equal?

  • <>: Are the values different?

  • <: Is the first value less than the second one?

  • >: Is the first value greater than the second one?

  • <=: Is the first value less than or equal to the second one?

  • >=: Is the first value greater than or equal to the second one?

Aggregations