MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tspatial_tempspatialrels.c File Reference

Spatiotemporal relationships for spatiotemporal values. More...

#include "geo/tgeo_tempspatialrels.h"
#include <liblwgeom.h>
#include <meos.h>
#include "pg_geo/postgis.h"
#include "pg_geo/tspatial.h"

Functions

Datum Tcontains_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a geometry contains a temporal geo @sqlfn tContains() More...
 
Datum Tcontains_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geometry contains a geometry @sqlfn tContains() More...
 
Datum Tcontains_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geometry contains another temporal geometry @sqlfn tContains() More...
 
Datum Tcovers_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a geometry covers a temporal geo @sqlfn tCovers() More...
 
Datum Tcovers_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geometry covers a geometry @sqlfn tCovers() More...
 
Datum Tcovers_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geometry covers another temporal geometry @sqlfn tCovers() More...
 
Datum Tdisjoint_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo is disjoint from a geometry @sqlfn tDisjoint() More...
 
Datum Tdisjoint_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo is disjoint from a geometry @sqlfn tDisjoint() More...
 
Datum Tdisjoint_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether two temporal geos are disjoint @sqlfn tDisjoint() More...
 
Datum Tdwithin_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a geometry and a temporal geo are within a given distance @sqlfn tDwithin() More...
 
Datum Tdwithin_geo_tspatial (FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *, double, bool, bool))
 Return a temporal boolean that states whether a geometry and a spatiotemporal value are within a given distance. More...
 
Datum Tdwithin_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo and a geometry are within a given distance @sqlfn tDwithin() More...
 
Datum Tdwithin_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether two spatiotemporal values are within a given distance @sqlfn tDwithin() More...
 
Datum Tdwithin_tspatial_geo (FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *, double, bool, bool))
 Return a temporal boolean that states whether a spatiotemporal value and a geometry are within a given distance. More...
 
Datum Tdwithin_tspatial_tspatial (FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const Temporal *, double, bool, bool))
 Return a temporal boolean that states whether two spatiotemporal values are within a given distance. More...
 
Datum Tintersects_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo intersects a geometry @sqlfn tIntersects() More...
 
Datum Tintersects_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo intersects a geometry @sqlfn tIntersects() More...
 
Datum Tintersects_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether two temporal geos are disjoint @sqlfn tIntersects() More...
 
Datum Tspatialrel_geo_tspatial (FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *, bool, bool))
 Return a temporal boolean that states whether a geometry and a spatiotemporal value satisfy a spatial relationship. More...
 
Datum Tspatialrel_tspatial_geo (FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *, bool, bool))
 Return a temporal boolean that states whether a spatial temporal value and a geometry satisfy a spatial relationship. More...
 
Datum Tspatialrel_tspatial_tspatial (FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const Temporal *, bool, bool))
 Return a temporal boolean that states whether two spatial temporal values satisfy a spatial relationship. More...
 
Datum Ttouches_geo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a geometry touches a temporal geo @sqlfn tTouches() More...
 
Datum Ttouches_tgeo_geo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geo touches a geometry @sqlfn tTouches() More...
 
Datum Ttouches_tgeo_tgeo (PG_FUNCTION_ARGS)
 Return a temporal boolean that states whether a temporal geometry touches another temporal geometry @sqlfn tTouches() More...
 

Detailed Description

Spatiotemporal relationships for spatiotemporal values.

These relationships are applied at each instant and result in a temporal Boolean.

Depending on the parameters various relationships are available