• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

proj1.c

Go to the documentation of this file.
00001 
00002 /**********************************************************************
00003  *  G_projection()
00004  *
00005  *  Returns the projection type of the currently set window.
00006  *  (Note this is really the coordinate system, not the projection)
00007  *    PROJECTION_XY  0 - x,y (Raw imagery)
00008  *    PROJECTION_UTM 1 - UTM   Universal Transverse Mercator
00009  *    PROJECTION_SP  2 - State Plane (in feet)
00010  *    PROJECTION_LL  3 - Latitude-Longitude
00011  *
00012  **********************************************************************/
00013 
00014 #include <grass/gis.h>
00015 
00016 
00033 int G_projection(void)
00034 {
00035     struct Cell_head window;
00036 
00037     G_get_set_window(&window);
00038     return window.proj;
00039 }

Generated on Wed Oct 13 2010 12:09:30 for GRASS Programmer's Manual by  doxygen 1.7.1