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] | gs | Geometry |
[in] | temp | Temporal geo |
[in] | ever | True for the ever semantics, false for the always semantics |
[in] | invert | True 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.