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

General functions for temporal points. More...

#include "geo/tspatial.h"
#include <assert.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/postgres_types.h"
#include "temporal/set.h"
#include "temporal/lifting.h"
#include "temporal/temporal.h"
#include "temporal/tinstant.h"
#include "temporal/tsequence.h"
#include "temporal/tsequenceset.h"

Functions

char ** spatialarr_as_ewkt (const Datum *spatialarr, meosType elemtype, int count, int maxdd)
 Return the Extended Well-Known Text (EWKT) representation of an array of spatial values. More...
 
char ** spatialarr_as_text (const Datum *spatialarr, meosType elemtype, int count, int maxdd)
 Return the Well-Known Text (WKT) representation of an array of spatial values. More...
 
char ** spatialarr_wkt_out (const Datum *spatialarr, meosType elemtype, int count, int maxdd, bool extended)
 Return the (Extended) Well-Known Text (WKT or EWKT) representation of an array of spatial values. More...
 
char * spatialbase_as_ewkt (Datum value, meosType type, int maxdd)
 Return the string representation of a base value. More...
 
char * spatialbase_as_text (Datum value, meosType type, int maxdd)
 Return the string representation of a base value. More...
 
char * spatialset_as_ewkt (const Set *s, int maxdd)
 Return the Extended Well-Known Text (EWKT) representation of a geo set. More...
 
char * spatialset_as_text (const Set *s, int maxdd)
 Return the Well-Known Text (WKT) representation of a spatial set @csqlfn Spatialset_as_text() More...
 
char * spatialset_out_fn (const Set *s, int maxdd, outfunc wkt_out, bool extended)
 Return the output representation of a spatial set given by a function. More...
 
void spatialset_set_stbox (const Set *s, STBox *box)
 Return in the last argument the bounding box of a spatial set. More...
 
STBoxspatialset_to_stbox (const Set *s)
 Convert a spatiotemporal set into a spatiotemporal box. More...
 
char * tspatial_as_ewkt (const Temporal *temp, int maxdd)
 Return the Extended Well-Known Text (EWKT) representation of a spatiotemporal value. More...
 
char * tspatial_as_text (const Temporal *temp, int maxdd)
 Return the Well-Known Text (WKT) representation of a temporal spatial value. More...
 
void tspatial_set_stbox (const Temporal *temp, STBox *box)
 Return in the last argument the spatiotemporal box of a temporal spatial value. More...
 
STBoxtspatial_to_stbox (const Temporal *temp)
 Convert a spatiotemporal value into a spatiotemporal box. More...
 
char * tspatialinst_as_text (const TInstant *inst, int maxdd)
 Return the Well-Known Text (WKT) representation of a spatiotemporal instant. More...
 
char * tspatialseq_as_text (const TSequence *seq, int maxdd)
 Return the Well-Known Text (WKT) representation of a temporal spatial sequence. More...
 
char * tspatialseqset_as_text (const TSequenceSet *ss, int maxdd)
 Return the Well-Known Text (WKT) representation of a temporal spatial sequence set. More...
 

Detailed Description

General functions for temporal points.