MobilityDB 1.1
Functions | Variables
projection_gk.c File Reference
#include <math.h>
#include <liblwgeom.h>
#include "general/meos_catalog.h"
#include "general/temporaltypes.h"
#include "general/lifting.h"
#include "point/tpoint.h"
#include "point/tpoint_spatialfuncs.h"
#include "pg_point/postgis.h"
Include dependency graph for projection_gk.c:

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...
 
PGDLLEXPORT 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...
 
PGDLLEXPORT 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
 Implementation of the Gauss-Krueger projection used in Secondo. More...
 
double rotx = 2.540423689E-6
 
double roty = 7.514612057E-7
 
double rotz = -1.368144208E-5
 
double sc = 0.99999122