GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
zone.c File Reference

Cartographic zone functions. More...

#include <grass/gis.h>
Include dependency graph for zone.c:

Go to the source code of this file.

Functions

int G_zone (void)
 Query cartographic zone. More...
 

Detailed Description

Cartographic zone functions.

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
GRASS GIS Development Team
Date
1999-2006

Definition in file zone.c.

Function Documentation

int G_zone ( void  )

Query cartographic zone.

This routine returns the zone for the active region. The meaning for the zone depends on the projection. For example, zone 18 for projection type 1 would be UTM zone 18.

Returns
int cartographic zone

Definition at line 28 of file zone.c.

References G_get_set_window().

Referenced by G__check_for_auto_masking().