![]() |
MobilityDB 1.3
|
SRID functions for spatial types. More...
#include <postgres.h>
#include <proj.h>
#include <liblwgeom.h>
#include <liblwgeom_internal.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/set.h"
#include "temporal/type_util.h"
#include "geo/meos_transform.h"
#include "geo/stbox.h"
#include "geo/tgeo.h"
#include "geo/tgeo_spatialfuncs.h"
Macros | |
#define | MAX_AUTH_SRID_STR 12 /* EPSG:999999 */ |
Functions | |
Datum | datum_transf_pj (Datum d, meosType basetype, int32_t srid_to UNUSED, const LWPROJ *pj) |
Return the first argument has been successfully transformed to another SRID. More... | |
bool | ensure_srid_is_latlong (int32_t srid) |
Ensure that an SRID is geodetic. More... | |
bool | spatial_set_srid (Datum d, meosType basetype, int32_t srid) |
Return true if the first argument has been successfully transformed to another SRID. More... | |
int32_t | spatial_srid (Datum d, meosType basetype) |
Return the SRID of a spatial value. More... | |
Set * | spatialset_set_srid (const Set *s, int32_t srid) |
Return a spatial set with the coordinates set to an SRID. More... | |
int32_t | spatialset_srid (const Set *s) |
Return the SRID of a spatial set. More... | |
static Set * | spatialset_transf_pj (const Set *s, int32_t srid_to, const LWPROJ *pj) |
Return a spatial set transformed to another SRID. More... | |
Set * | spatialset_transform (const Set *s, int32_t srid_to) |
Return a spatial set transformed to another SRID. More... | |
Set * | spatialset_transform_pipeline (const Set *s, const char *pipeline, int32_t srid_to, bool is_forward) |
Return a spatial set transformed to another SRID using a pipeline. More... | |
int | srid_is_latlong (int32_t srid) |
Return 1 if the SRID is geodetic, return 0 otherwise. More... | |
Temporal * | tspatial_set_srid (const Temporal *temp, int32_t srid) |
Return a spatiotemporal value with the coordinates set to an SRID. More... | |
int32_t | tspatial_srid (const Temporal *temp) |
Return the SRID of a spatiotemporal value. More... | |
Temporal * | tspatial_transf_pj (const Temporal *temp, int32_t srid_to, const LWPROJ *pj) |
Return a spatiotemporal value transformed to another SRID. More... | |
Temporal * | tspatial_transform (const Temporal *temp, int32_t srid_to) |
Return a spatiotemporal value transformed to another SRID. More... | |
Temporal * | tspatial_transform_pipeline (const Temporal *temp, const char *pipeline, int32_t srid_to, bool is_forward) |
Return a spatiotemporal value transformed to another SRID using a pipeline. More... | |
void | tspatialinst_set_srid (TInstant *inst, int32_t srid) |
Set the coordinates of a spatiotemporal instant to an SRID. More... | |
int32_t | tspatialinst_srid (const TInstant *inst) |
Return the SRID of a spatiotemporal instant. More... | |
TInstant * | tspatialinst_transf_pj (const TInstant *inst, int32_t srid_to, const LWPROJ *pj) |
Return a spatiotemporal type transformed to another SRID. More... | |
void | tspatialseq_set_srid (TSequence *seq, int32_t srid) |
Set the coordinates of a spatiotemporal sequence to an SRID. More... | |
TSequence * | tspatialseq_transf_pj (const TSequence *seq, int32_t srid_to, const LWPROJ *pj) |
Return a spatiotemporal type transformed to another SRID. More... | |
void | tspatialseqset_set_srid (TSequenceSet *ss, int32_t srid) |
Set the coordinates of a spatiotemporal sequence set to an SRID. More... | |
TSequenceSet * | tspatialseqset_transf_pj (const TSequenceSet *ss, int32_t srid_to, const LWPROJ *pj) |
Return a spatiotemporal type transformed to another SRID. More... | |
SRID functions for spatial types.