#include <unistd.h>#include <string.h>#include <ctype.h>#include <stdlib.h>#include "gis.h"#include "glocale.h"Include dependency graph for datum.c:

Go to the source code of this file.
Data Structures | |
| struct | table |
| struct | datum_transform_list |
Defines | |
| #define | DATUMTABLE "/etc/datum.table" |
| #define | DATUMTRANSFORMTABLE "/etc/datumtransform.table" |
Functions | |
| int | G_get_datum_by_name (const char *name) |
| int | G_datum_shift (int n, double *dx, double *dy, double *dz) |
| int | G_datum_parameters (int n, char *ellps, double *dx, double *dy, double *dz) |
| char * | G_datum_name (int n) |
| char * | G_datum_description (int n) |
| char * | G_datum_ellipsoid (int n) |
| int | G_ask_datum_params (char *datumname, char *params) |
| int | G_get_datumparams_from_projinfo (struct Key_Value *projinfo, char *datumname, char *params) |
| int G_ask_datum_params | ( | char * | datumname, | |
| char * | params | |||
| ) |
Definition at line 151 of file datum.c.
References datum_transform_list::comment, datum_transform_list::count, fprintf(), G_free(), G_gets(), G_strcasecmp(), G_strip(), G_system(), G_tempfile(), G_warning(), G_yes(), datum_transform_list::next, NULL, datum_transform_list::params, and datum_transform_list::where_used.
| char* G_datum_description | ( | int | n | ) |
Definition at line 116 of file datum.c.
References datum_transform_list::count, and NULL.
Referenced by G_ask_datum_name().
| char* G_datum_ellipsoid | ( | int | n | ) |
Definition at line 127 of file datum.c.
References datum_transform_list::count, and NULL.
Referenced by G_ask_datum_name().
| char* G_datum_name | ( | int | n | ) |
Definition at line 105 of file datum.c.
References datum_transform_list::count, and NULL.
Referenced by G_ask_datum_name().
| int G_datum_parameters | ( | int | n, | |
| char * | ellps, | |||
| double * | dx, | |||
| double * | dy, | |||
| double * | dz | |||
| ) |
| int G_datum_shift | ( | int | n, | |
| double * | dx, | |||
| double * | dy, | |||
| double * | dz | |||
| ) |
Definition at line 75 of file datum.c.
References datum_transform_list::count.
Referenced by G_get_datum_parameters().
| int G_get_datum_by_name | ( | const char * | name | ) |
Definition at line 60 of file datum.c.
References datum_transform_list::count, and G_strcasecmp().
Referenced by G_ask_datum_name(), and G_get_datum_parameters().
| int G_get_datumparams_from_projinfo | ( | struct Key_Value * | projinfo, | |
| char * | datumname, | |||
| char * | params | |||
| ) |
Definition at line 282 of file datum.c.
References G_find_key_value(), and NULL.
Referenced by G_database_datum_name().
1.4.7