GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72721
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gis/datum.c File Reference
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for gis/datum.c:

Go to the source code of this file.

Macros

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

Functions

int G_get_datum_by_name (const char *name)
 
const char * G_datum_name (int n)
 
const char * G_datum_description (int n)
 
const char * G_datum_ellipsoid (int n)
 
int G_get_datumparams_from_projinfo (const struct Key_Value *projinfo, char *datumname, char *params)
 
void G_read_datum_table (void)
 

Macro Definition Documentation

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

Definition at line 17 of file gis/datum.c.

Referenced by G_read_datum_table().

Function Documentation

const char* G_datum_description ( int  n)

Definition at line 68 of file gis/datum.c.

References G_read_datum_table(), and NULL.

const char* G_datum_ellipsoid ( int  n)

Definition at line 78 of file gis/datum.c.

References G_read_datum_table(), and NULL.

const char* G_datum_name ( int  n)

Definition at line 58 of file gis/datum.c.

References G_read_datum_table(), and NULL.

int G_get_datum_by_name ( const char *  name)

Definition at line 45 of file gis/datum.c.

References G_read_datum_table(), and G_strcasecmp().

int G_get_datumparams_from_projinfo ( const struct Key_Value projinfo,
char *  datumname,
char *  params 
)

Definition at line 109 of file gis/datum.c.

References G_find_key_value(), and NULL.

Referenced by G_database_datum_name().