MobilityDB 1.3
Loading...
Searching...
No Matches
Functions | Variables
projection_gk.c File Reference

Implementation of the Gauss-Krueger projection used in Secondo. More...

#include <math.h>
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/lifting.h"
#include "geo/tgeo_spatialfuncs.h"
#include "pg_geo/postgis.h"

Functions

static POINT2D BesselBLToGaussKrueger (double b, double ll)
 Transform to Gauss-Krueger projection. More...
 
static POINT3D BLRauenberg (double x, double y, double z)
 
GSERIALIZEDgeometry_transform_gk (const GSERIALIZED *gs)
 Transform a geometry into the Gauss-Kruger projection used in Secondo. More...
 
Datum Geometry_transform_gk (PG_FUNCTION_ARGS)
 Transform a geometry into the Gauss-Krueger projection used in Secondo. More...
 
static Datum gk (Datum point)
 Transform a point into the Gauss-Kruger projection used in Secondo. More...
 
static POINT3D HelmertTransformation (double x, double y, double z)
 Perform Helmert Transformation. More...
 
static double newF (double f, double x, double y, double p)
 
static Datum point2d_get_datum (const POINT2D *p2d)
 Get Datum from 2D point. More...
 
Temporaltgeompoint_transform_gk (const Temporal *temp)
 Transform a temporal point into the Gauss-Krueger projection used in Secondo. More...
 
Datum Tgeompoint_transform_gk (PG_FUNCTION_ARGS)
 Transform a temporal point into the Gauss-Krueger projection used in Secondo. More...
 

Variables

double abes = 6377397.155
 
double awgs = 6378137.0
 
double bbes = 6356078.962
 
double bwgs = 6356752.314
 
double cbes = 111120.6196
 
double dx = -585.7
 
double dy = -87.0
 
double dz = -409.2
 
double eqbes = 0
 
double eqwgs = 0
 
double h1 = 0
 
double MDC = 2.0
 
double Pi = 3.1415926535897932384626433832795028841971693993751058209749445923078164
 
double rotx = 2.540423689E-6
 
double roty = 7.514612057E-7
 
double rotz = -1.368144208E-5
 
double sc = 0.99999122
 

Detailed Description

Implementation of the Gauss-Krueger projection used in Secondo.

Note
This projection does not correspond to any standard projection in http://www.epsg.org/. This projection is provided to enable the comparison of MobilityDB and Secondo.