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

◆ ea_contains_tgeo_tgeo()

int ea_contains_tgeo_tgeo ( const Temporal temp1,
const Temporal temp2,
bool  ever 
)

Return 1 if a temporal geometry ever contains another temporal geometry, 0 if not, and -1 on error.

  • A temporal geometry ever contains another one if there is an instant in which the two temporal geometries satisfy the relationship.
  • A temporal geometry always contains another one if the traversed area of the first temporal geometry contains the traversed area of the second one
    Parameters
    [in]temp1,temp2Temporal geometries
    [in]everTrue for the ever semantics, false for the always semantics
    Note
    Please refer to the documentation of the ST_Contains and ST_Covers functions https://postgis.net/docs/ST_Contains.html https://postgis.net/docs/ST_Convers.html for detailed explanations about the difference between both functions.