MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tgeo.c File Reference

General functions for temporal geos. More...

#include "geo/tgeo.h"
#include <utils/timestamp.h>
#include <meos.h>
#include <meos_geo.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/temporal.h"
#include "geo/postgis_funcs.h"
#include "geo/stbox.h"
#include "geo/tspatial_parser.h"
#include "geo/tgeo_spatialfuncs.h"
#include "pg_temporal/meos_catalog.h"
#include "pg_temporal/temporal.h"
#include "pg_geo/postgis.h"

Macros

#define MAX_TYPMOD_LEN   64
 
#define PGC_ERRMSG_MAXLEN   2048
 
#define TSPATIAL_MAX_TYPMOD   3
 

Functions

void mobilitydb_init ()
 Set the handlers for initializing the liblwgeom library. More...
 
static void pg_error (const char *fmt, va_list ap)
 Output an error message. More...
 
static void pg_notice (const char *fmt, va_list ap)
 Output a notice message. More...
 
Datum Tgeo_in (PG_FUNCTION_ARGS)
 Return a temporal geo from its Well-Known Text (WKT) representation @sqlfn tgeo_in() More...
 
Datum Tgeogpoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geographies. More...
 
Datum Tgeography_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geographies. More...
 
Datum Tgeoinst_constructor (PG_FUNCTION_ARGS)
 Return a temporal geo instant from a geometry/geography and a timestamptz @sqlfn tgeometry(), tgeography() More...
 
Datum Tgeometry_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geometries. More...
 
Datum Tgeompoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geometries. More...
 
Datum Tpoint_in (PG_FUNCTION_ARGS)
 Return a temporal point from its Well-Known Text (WKT) representation. More...
 
Datum Tpointinst_constructor (PG_FUNCTION_ARGS)
 Return a temporal point instant from a point and a timestamptz @sqlfn tgeompoint(), tgeogpoint() More...
 
Datum Tspatial_enforce_typmod (PG_FUNCTION_ARGS)
 Enforce typmod information for temporal geos with respect to temporal type, dimensions, and SRID. More...
 
uint32 tspatial_typmod_in (ArrayType *arr, int is_point, int is_geodetic)
 Input typmod information for temporal geos. More...
 
Datum Tspatial_typmod_out (PG_FUNCTION_ARGS)
 Output 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...
 

Detailed Description

General functions for temporal geos.