GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
gprojects.h File Reference
#include <grass/config.h>
#include <proj.h>
#include <ogr_srs_api.h>
#include <grass/defs/gprojects.h>
Include dependency graph for gprojects.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pj_info
 
struct  gpj_datum
 
struct  gpj_datum_transform_list
 
struct  gpj_ellps
 

Macros

#define RAD_TO_DEG   57.295779513082321
 
#define DEG_TO_RAD   .017453292519943296
 
#define PROJ_COMPUTE_VERSION(maj, min, rev)   ((maj)*1000000+(min)*10000+(rev)*100)
 
#define PROJ_VERSION_NUM   (PROJ_COMPUTE_VERSION(PROJ_VERSION_MAJOR,PROJ_VERSION_MINOR,PROJ_VERSION_PATCH))
 
#define PJ_WKT2_LATEST   PJ_WKT2_2018
 
#define ELLIPSOIDTABLE   "/etc/proj/ellipse.table"
 
#define DATUMTABLE   "/etc/proj/datum.table"
 
#define DATUMTRANSFORMTABLE   "/etc/proj/datumtransform.table"
 
#define GRIDDIR   "/etc/proj/nad"
 

Macro Definition Documentation

◆ DATUMTABLE

#define DATUMTABLE   "/etc/proj/datum.table"

Definition at line 63 of file gprojects.h.

◆ DATUMTRANSFORMTABLE

#define DATUMTRANSFORMTABLE   "/etc/proj/datumtransform.table"

Definition at line 64 of file gprojects.h.

◆ DEG_TO_RAD

#define DEG_TO_RAD   .017453292519943296

Definition at line 25 of file gprojects.h.

◆ ELLIPSOIDTABLE

#define ELLIPSOIDTABLE   "/etc/proj/ellipse.table"

Definition at line 62 of file gprojects.h.

◆ GRIDDIR

#define GRIDDIR   "/etc/proj/nad"

Definition at line 66 of file gprojects.h.

◆ PJ_WKT2_LATEST

#define PJ_WKT2_LATEST   PJ_WKT2_2018

Definition at line 41 of file gprojects.h.

◆ PROJ_COMPUTE_VERSION

#define PROJ_COMPUTE_VERSION (   maj,
  min,
  rev 
)    ((maj)*1000000+(min)*10000+(rev)*100)

Definition at line 29 of file gprojects.h.

◆ PROJ_VERSION_NUM

#define PROJ_VERSION_NUM   (PROJ_COMPUTE_VERSION(PROJ_VERSION_MAJOR,PROJ_VERSION_MINOR,PROJ_VERSION_PATCH))

Definition at line 36 of file gprojects.h.

◆ RAD_TO_DEG

#define RAD_TO_DEG   57.295779513082321

Definition at line 24 of file gprojects.h.