![]() |
MobilityDB 1.3
|
Aggregate functions for temporal geos. More...
#include "geo/tgeo_aggfuncs.h"
#include <assert.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/doublen.h"
#include "temporal/skiplist.h"
#include "temporal/temporal_aggfuncs.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"
Functions | |
static Datum | doublen_to_point (const TInstant *inst, int32_t srid) |
Transform a temporal doubleN instant into a point. More... | |
bool | ensure_geoaggstate (const SkipList *state, int32_t srid, bool hasz) |
Check the validity of two temporal geos for aggregation. More... | |
bool | ensure_geoaggstate_state (const SkipList *state1, const SkipList *state2) |
Check the validity of two temporal geos for aggregation. More... | |
Temporal * | tpoint_tcentroid_finalfn (SkipList *state) |
Final function for temporal centroid aggregation of temporal points. More... | |
SkipList * | tpoint_tcentroid_transfn (SkipList *state, Temporal *temp) |
Transition function for temporal centroid aggregation of temporal points. More... | |
Temporal ** | tpoint_transform_tcentroid (const Temporal *temp, int *count) |
Transform a temporal geo for performing temporal centroid aggregation. More... | |
TSequence * | tpointinst_tcentroid_finalfn (TInstant **instants, int count, int32_t srid) |
Final function for temporal centroid aggregation of temporal geo instants. More... | |
static TInstant * | tpointinst_transform_tcentroid (const TInstant *inst) |
Transform a temporal geo instant into a temporal double3 of double4 for performing temporal centroid aggregation. More... | |
static TSequence * | tpointseq_cont_transform_tcentroid (const TSequence *seq) |
Transform a temporal geo sequence into a temporal double3 or double4 for performing temporal centroid aggregation. More... | |
static TInstant ** | tpointseq_disc_transform_tcentroid (const TSequence *seq) |
Transform a temporal geo discrete sequence into a temporal double3 or double4 for performing temporal centroid aggregation. More... | |
TSequenceSet * | tpointseq_tcentroid_finalfn (TSequence **sequences, int count, int32_t srid) |
Final function for temporal centroid aggregation of temporal geo sequences. More... | |
static TSequence ** | tpointseqset_transform_tcentroid (const TSequenceSet *ss) |
Transform a temporal geo sequence set into a temporal double3 or double4 for performing temporal centroid aggregation. More... | |
STBox * | tspatial_extent_transfn (STBox *box, const Temporal *temp) |
Transition function for temporal extent aggregation of spatiotemporal values. More... | |
Aggregate functions for temporal geos.
The only functions currently provided are extent and temporal centroid.