Temporal Geometry Types

Functions on Geometries

  • orientedEnvelope: Return the rectangle of minimum area enclosing a geometry

  • convexHull: Return the smallest convex geometry enclosing a geometry

  • isSimple: Return true if a geometry has no point at which it crosses or touches itself

  • buffer: Return the geometry holding every point within a distance of a geometry

  • intersection: Return the region two geometries share

  • geoUnion: Return the region two geometries cover together

  • difference: Return the region of the first geometry that the second does not cover

  • symDifference: Return the region exactly one of two geometries covers

Input and Output

Conversions

  • stbox, ::, stbox(tspatial): Convert a spatiotemporal value to a spatiotemporal box

  • ::: Convert between a temporal geometry and a temporal geography

  • ::: Convert between a temporal point and a PostGIS trajectory

Accessors

  • trajectory, traversedArea: Return the trajectory or the traversed area

  • centroid: Return the centroid as a temporal point

  • getX, getY, getZ: Return the X/Y/Z 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, that is, the azimuth between the start and end locations

  • 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

  • affine: Return the 3D affine transform of a temporal geometry to translate, rotate, and/or scale it in a single step

  • rotate: Return the temporal point rotated counter-clockwise about the origin point

  • scale: Return a temporal point scaled by given factors

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

  • stops: Extract from a temporal point with linear interpolation the subsequences where the point stays within an area with a specified maximum size for at least the given duration

Restrictions

Spatial Reference System

Bounding Box Operations

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

Distance Operations

Ever and Always Relationships

Spatiotemporal Relationships