Functions

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

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(), and G_shortest_way().