OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Utm.h File Reference

Convert to/from WGS84 (long,lat) and UTM (x,y) given utm zone srid. More...

#include "Shared/math_consts.h"
#include "Shared/misc.h"
#include <cmath>
#include <limits>
+ Include dependency graph for Utm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Transform4326ToUTM
 
class  TransformUTMTo4326
 

Namespaces

 anonymous_namespace{Utm.h}
 

Functions

DEVICE bool is_utm_srid (unsigned const srid)
 

Variables

constexpr double anonymous_namespace{Utm.h}::f = 1 / 298.257223563
 
constexpr double anonymous_namespace{Utm.h}::a = 6378137
 
constexpr double anonymous_namespace{Utm.h}::k0 = 0.9996
 
constexpr double anonymous_namespace{Utm.h}::E0 = 500e3
 
constexpr double anonymous_namespace{Utm.h}::n = f / (2 - f)
 
constexpr double anonymous_namespace{Utm.h}::A
 
constexpr double anonymous_namespace{Utm.h}::k0_A = k0 * A
 
constexpr std::array< double, 9 > anonymous_namespace{Utm.h}::alphas
 
constexpr std::array< double, 9 > anonymous_namespace{Utm.h}::betas
 
constexpr std::array< double, 9 > anonymous_namespace{Utm.h}::deltas
 
constexpr unsigned anonymous_namespace{Utm.h}::N = 6
 

Detailed Description

Convert to/from WGS84 (long,lat) and UTM (x,y) given utm zone srid.

Definition in file Utm.h.

Function Documentation

DEVICE bool is_utm_srid ( unsigned const  srid)
inline

Definition at line 113 of file Utm.h.

Referenced by transform_point(), and x_and_y_are_dependent().

113  {
114  return (32601 <= srid && srid <= 32660) || (32701 <= srid && srid <= 32760);
115 }

+ Here is the caller graph for this function: