![]() |
MobilityDB 1.3
|
Functions for temporal geometries/geographies. More...
#include "geo/tgeo_aggfuncs.h"
#include <assert.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/spanset.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"
#include "geo/tspatial_parser.h"
Functions | |
GSERIALIZED * | tgeo_end_value (const Temporal *temp) |
Return a copy of the end value of a temporal geo. More... | |
Temporal * | tgeo_from_base_temp (const GSERIALIZED *gs, const Temporal *temp) |
Return a temporal geo from a geometry/geography and the time frame of another temporal value. More... | |
Temporal * | tgeo_from_base_temp_int (const GSERIALIZED *gs, const Temporal *temp, bool ispoint) |
Return a temporal geometry/point from a geometry and the time frame of another temporal value. More... | |
char * | tgeo_out (const Temporal *temp, int maxdd) |
Return the Well-Known Text (WKT) representation of a temporal geo. More... | |
GSERIALIZED * | tgeo_start_value (const Temporal *temp) |
Return a copy of the start value of a temporal geo. More... | |
bool | tgeo_value_n (const Temporal *temp, int n, GSERIALIZED **result) |
Return a copy of the n-th value of a temporal geo. More... | |
GSERIALIZED ** | tgeo_values (const Temporal *temp, int *count) |
Return the array of copies of base values of a temporal geo. More... | |
Temporal * | tgeogpoint_from_mfjson (const char *mfjson) |
Return a temporal geography point from its MF-JSON representation. More... | |
TInstant * | tgeogpointinst_from_mfjson (json_object *mfjson, int32_t srid) |
Return a temporal geography point instant from its MF-JSON representation. More... | |
TInstant * | tgeogpointinst_in (const char *str) |
Return a temporal instant geography point from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeogpointseq_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geography point sequence from its MF-JSON representation. More... | |
TSequence * | tgeogpointseq_in (const char *str, interpType interp UNUSED) |
Return a temporal geography point sequence from its Well-Known Text (WKT) representation. More... | |
TSequenceSet * | tgeogpointseqset_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geography point sequence set from its MF-JSON representation. More... | |
TSequenceSet * | tgeogpointseqset_in (const char *str) |
Return a temporal geography point sequence set from its Well-Known Text (WKT) representation. More... | |
Temporal * | tgeography_from_mfjson (const char *mfjson) |
Return a temporal geography from its MF-JSON representation. More... | |
TInstant * | tgeographyinst_from_mfjson (json_object *mfjson, int32_t srid) |
Return a temporal geography instant from its MF-JSON representation. More... | |
TInstant * | tgeographyinst_in (const char *str) |
Return a temporal geography instant from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeographyseq_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geography sequence from its MF-JSON representation. More... | |
TSequence * | tgeographyseq_in (const char *str, interpType interp UNUSED) |
Return a temporal geography sequence from its Well-Known Text (WKT) representation. More... | |
TSequenceSet * | tgeographyseqset_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geography sequence set from its MF-JSON representation. More... | |
TSequenceSet * | tgeographyseqset_in (const char *str) |
Return a temporal geography sequence set from its Well-Known Text (WKT) representation. More... | |
Temporal * | tgeometry_from_mfjson (const char *mfjson) |
Return a temporal geometry from its MF-JSON representation. More... | |
TInstant * | tgeometryinst_from_mfjson (json_object *mfjson, int32_t srid) |
Return a temporal geometry instant from its MF-JSON representation. More... | |
TInstant * | tgeometryinst_in (const char *str) |
Return a temporal geometry instant from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeometryseq_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geometry sequence from its MF-JSON representation. More... | |
TSequence * | tgeometryseq_in (const char *str, interpType interp UNUSED) |
Return a temporal geometry sequence from its Well-Known Text (WKT) representation. More... | |
TSequenceSet * | tgeometryseqset_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geometry sequence set from its MF-JSON representation. More... | |
TSequenceSet * | tgeometryseqset_in (const char *str) |
Return a temporal geometry sequence set from its Well-Known Text (WKT) representation. More... | |
Temporal * | tgeompoint_from_mfjson (const char *mfjson) |
Return a temporal geometry point from its MF-JSON representation. More... | |
TInstant * | tgeompointinst_from_mfjson (json_object *mfjson, int32_t srid) |
Return a temporal geometry point instant from its MF-JSON representation. More... | |
TInstant * | tgeompointinst_in (const char *str) |
Return a temporal geometry point instant from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeompointseq_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geometry point sequence from its MF-JSON representation. More... | |
TSequence * | tgeompointseq_in (const char *str, interpType interp UNUSED) |
Return a temporal geometry point sequence from its Well-Known Text (WKT) representation. More... | |
TSequenceSet * | tgeompointseqset_from_mfjson (json_object *mfjson, int32_t srid, interpType interp) |
Return a temporal geometry point sequence set from its MF-JSON representation. More... | |
TSequenceSet * | tgeompointseqset_in (const char *str) |
Return a temporal geometry point sequence set from its Well-Known Text (WKT) representation. More... | |
TSequence * | tgeoseq_from_base_tstzset (const GSERIALIZED *gs, const Set *s) |
Return a temporal geo discrete sequence from a geometry/geography and a timestamptz set. More... | |
TSequence * | tgeoseq_from_base_tstzspan (const GSERIALIZED *gs, const Span *s, interpType interp) |
Return a temporal geo sequence from a geometry/geography and a timestamptz span. More... | |
TSequenceSet * | tgeoseqset_from_base_tstzspanset (const GSERIALIZED *gs, const SpanSet *ss, interpType interp) |
Return a temporal geo sequence set from a point and a timestamptz span set. More... | |
Temporal * | tpoint_from_base_temp (const GSERIALIZED *gs, const Temporal *temp) |
Return a temporal point from a point and the time frame of another temporal value. More... | |
TSequence * | tpointseq_from_base_tstzset (const GSERIALIZED *gs, const Set *s) |
Return a temporal geometry point discrete sequence from a point and a timestamptz set. More... | |
TSequence * | tpointseq_from_base_tstzspan (const GSERIALIZED *gs, const Span *s, interpType interp) |
Return a temporal point sequence from a point and a timestamptz span. More... | |
TSequenceSet * | tpointseqset_from_base_tstzspanset (const GSERIALIZED *gs, const SpanSet *ss, interpType interp) |
Return a temporal point sequence set from a point and a timestamptz span set. More... | |
Functions for temporal geometries/geographies.