Data Structures | Defines | Functions

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 datum.c:

Go to the source code of this file.

Data Structures

struct  table

Defines

#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)

Define Documentation

#define DATUMTABLE   "/etc/datum.table"

Definition at line 17 of file datum.c.


Function Documentation

char* G_datum_description ( int  n )

Definition at line 66 of file datum.c.

References NULL.

Referenced by G_ask_datum_name().

char* G_datum_ellipsoid ( int  n )

Definition at line 76 of file datum.c.

References NULL.

Referenced by G_ask_datum_name().

char* G_datum_name ( int  n )

Definition at line 56 of file datum.c.

References NULL.

Referenced by G_ask_datum_name().

int G_get_datum_by_name ( const char *  name )

Definition at line 43 of file datum.c.

References 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 datum.c.

References G_find_key_value(), and NULL.

Referenced by G_database_datum_name().