MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tcovers_geo_tgeo()

Temporal * tcovers_geo_tgeo ( const GSERIALIZED gs,
const Temporal temp,
bool  restr,
bool  atvalue 
)

Return a temporal Boolean that states whether a geometry covers a temporal geometry.

The temporal covers relationship is computed as follows:

  • For temporal points
    tcovers(geo, tpoint) = tintersects(geo, tpoint) &
    ~ tintersects(st_boundary(geo), tpoint)
    where & and ~ are the temporal and and the temporal or operators. Notice that tcovers(tpoint, geo) is not defined, the tintersects function can be used instead.
  • For temporal geometries, compute the relationship at each instant using the lifting infrastructure.
    Parameters
    [in]gsGeometry
    [in]tempTemporal geo
    [in]restrTrue when the result is restricted to a value
    [in]atvalueValue to restrict @csqlfn Tcovers_geo_tgeo()