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

◆ ea_contains_tgeo_geo_int()

int ea_contains_tgeo_geo_int ( const Temporal temp,
const GSERIALIZED gs,
bool  ever,
bool  invert 
)

Return 1 if a temporal geometry ever/always contains a geo, 0 if not, and -1 on error or if the geometry is empty.

  • A temporal geometry ever contains a geometry if the traversed area of the temporal geometry and the geometry intersect only in their interior, that is, they satisfy the relate pattern "T********"
  • A temporal geometry always contains a geometry if the traversed area of the temporal geometry contains the geometry
    Parameters
    [in]gsGeometry
    [in]tempTemporal geo
    [in]everTrue for the ever semantics, false for the always semantics
    [in]invertTrue if the arguments should be inverted
    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.