GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
proj1.c
Go to the documentation of this file.
1
2
/**********************************************************************
3
* G_projection()
4
*
5
* Returns the projection type of the currently set window.
6
* (Note this is really the coordinate system, not the projection)
7
* PROJECTION_XY 0 - x,y (Raw imagery)
8
* PROJECTION_UTM 1 - UTM Universal Transverse Mercator
9
* PROJECTION_SP 2 - State Plane (in feet)
10
* PROJECTION_LL 3 - Latitude-Longitude
11
*
12
**********************************************************************/
13
14
#include <grass/gis.h>
15
16
33
int
G_projection
(
void
)
34
{
35
struct
Cell_head window;
36
37
G_get_set_window
(&window);
38
return
window.proj;
39
}
lib
gis
proj1.c
Generated on Thu Sep 26 2013 09:48:05 for GRASS Programmer's Manual by
1.8.4