GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.

Data Structures

struct  table
 

Macros

#define DATUMTABLE   "/etc/datum.table"
 

Functions

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

Macro Definition Documentation

#define DATUMTABLE   "/etc/datum.table"

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

Referenced by read_datum_table().

Function Documentation

char* G_datum_description ( int  n)

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

References count, n, and NULL.

Referenced by G_ask_datum_name().

char* G_datum_ellipsoid ( int  n)

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

References count, n, and NULL.

Referenced by G_ask_datum_name().

char* G_datum_name ( int  n)

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

References count, n, and NULL.

Referenced by G_ask_datum_name().

int G_get_datum_by_name ( const char *  name)

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

References count, and G_strcasecmp().

Referenced by G_ask_datum_name().

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

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

References G_find_key_value(), NULL, and sprintf().

Referenced by G_database_datum_name().