GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
GIS Library - Projection support (internal subroutines) More...
Go to the source code of this file.
Functions | |
int | G_projection_units (int n) |
Get projection units code (for internal use only) More... | |
const char * | G_projection_name (int n) |
Get projection name. More... | |
GIS Library - Projection support (internal subroutines)
(C) 2001-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file proj2.c.
const char* G_projection_name | ( | int | n | ) |
Get projection name.
n | projection code |
Definition at line 55 of file proj2.c.
References _, NULL, PROJECTION_LL, PROJECTION_OTHER, PROJECTION_UTM, and PROJECTION_XY.
Referenced by G_database_projection_name(), Rast__open_old(), and Vect_get_proj_name().
int G_projection_units | ( | int | n | ) |
Get projection units code (for internal use only)
n | projection code |
Supported units (see gis.h):
Definition at line 32 of file proj2.c.
References PROJECTION_LL, PROJECTION_UTM, PROJECTION_XY, U_DEGREES, U_METERS, U_UNDEFINED, and U_UNKNOWN.
Referenced by G_database_unit().