Temporal Types: Spatial Operations

Input and Output

Spatial Reference System

Bounding Box Operations

  • expandSpace: Return the spatiotemporal bounding box expanded in the spatial dimension by a float value

Accessors

  • trajectory: Return the trajectory

  • getX, getY, getZ: Return the X/Y/Z/T coordinate values as a temporal float

  • isSimple: Return true if the temporal point does not spatially self-intersect

  • length: Return the length traversed by the temporal point

  • cumulativeLength: Return the cumulative length traversed by the temporal point

  • speed: Return the speed of the temporal point in units per second

  • twCentroid: Return the time-weighted centroid

  • direction: Return the direction

  • azimuth: Return the temporal azimuth

  • angularDifference: Return the temporal angular difference

  • bearing: Return the temporal bearing

Transformations

  • round: Round the coordinate values to a number of decimal places

  • makeSimple: Return an array of fragments of the temporal point which are simple

  • geoMeasure: Construct a geometry/geography with M measure from a temporal point and a temporal float

  • asMVTGeom: Transform a temporal geometric point into the coordinate space of a Mapbox Vector Tile

Distance Operations

  • |=|: Return the smallest distance ever

  • nearestApproachInstant: Return the instant of the first temporal point at which the two arguments are at the nearest distance

  • shortestLine: Return the line connecting the nearest approach point

  • <->: Return the temporal distance

Spatial Relationships

Ever or Always Spatial Relationships

Temporal Spatial Relationships