MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tspatial.h File Reference
#include <postgres.h>
#include <utils/array.h>
#include <fmgr.h>

Go to the source code of this file.

Functions

Datum EA_dwithin_geo_tspatial (FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, double dist, bool), bool ever)
 Return true if a geometry and a spatiotemporal value are ever/always within a distance. More...
 
Datum EA_dwithin_tspatial_geo (FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, double dist, bool), bool ever)
 Return true if a spatiotemporal value and a geometry are ever/always within a distance. More...
 
Datum EA_spatialrel_geo_tspatial (FunctionCallInfo fcinfo, int(*func)(const GSERIALIZED *, const Temporal *, bool), bool ever)
 Return true if a geometry and a spatiotemporal value ever/always satisfy a spatial relationship. More...
 
Datum EA_spatialrel_tspatial_geo (FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *, bool), bool ever)
 Return true if a spatiotemporal value and a geometry ever/always satisfy a spatial relationship. More...
 
Datum EA_spatialrel_tspatial_tspatial (FunctionCallInfo fcinfo, int(*func)(const Temporal *, const Temporal *, bool), bool ever)
 Return true if two spatiotemporal values ever/always satisfy the spatial relationship. More...
 
Datum EAcomp_geo_tspatial (FunctionCallInfo fcinfo, int(*func)(const GSERIALIZED *, const Temporal *))
 Generic function for the temporal ever/always comparison operators. More...
 
Datum EAcomp_tspatial_geo (FunctionCallInfo fcinfo, int(*func)(const Temporal *, const GSERIALIZED *))
 Generic function for the temporal ever/always comparison operators. More...
 
FunctionCallInfo fetch_fcinfo (void)
 Spatial functions for temporal points. More...
 
Datum Spatialarr_as_text_ext (FunctionCallInfo fcinfo, bool extended)
 Return the (Extended) Well-Known Text (WKT or EWKT) representation of an array of spatial values (external function) More...
 
void store_fcinfo (FunctionCallInfo fcinfo)
 Store in the cache the fcinfo of the external function. More...
 
Datum Tcomp_geo_tspatial (FunctionCallInfo fcinfo, Temporal *(*func)(const GSERIALIZED *, const Temporal *))
 Generic function for the temporal comparison operators. More...
 
Datum Tcomp_tspatial_geo (FunctionCallInfo fcinfo, Temporal *(*func)(const Temporal *, const GSERIALIZED *))
 Generic function for the temporal comparison operators. 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_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...
 
uint32 tspatial_typmod_in (ArrayType *arr, int is_point, int is_geodetic)
 Input typmod information for temporal geos. More...
 
Temporaltspatial_valid_typmod (Temporal *temp, int32_t typmod)
 Check the consistency of the metadata specified in the typmod: temporal subtype, geometry type, and SRID. 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...