proj1.c

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

Generated on Sat Jul 22 22:06:15 2006 for GRASS by  doxygen 1.4.7