GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
proj1.c File Reference
#include <grass/gis.h>
Include dependency graph for proj1.c:

Go to the source code of this file.

Functions

int G_projection (void)
 query cartographic projection More...
 

Function Documentation

int G_projection ( void  )

query cartographic projection

This routine returns a code indicating the projection for the active region. The current values are: 0 unreferenced x,y (imagery data) 1 UTM 2 State Plane 3 Latitude-Longitude

Remarks
{Latitude-Longitude is not yet fully supported in GRASS.} Others may be added in the future. HINT GRASS 5: 121 projections!!
Parameters
void
Returns
int

Definition at line 33 of file proj1.c.

References G_get_set_window().

Referenced by G__check_for_auto_masking(), G_begin_distance_calculations(), G_begin_polygon_area_calculations(), G_database_projection_name(), G_database_unit_name(), G_get_3dview(), G_oldsite_get(), G_shortest_way(), G_site_format(), Vect_net_build_graph(), and Vect_set_constraint_region().