GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-5c00b4e944
zone.c File Reference

GIS Library - Cartographic zone functions. More...

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

Go to the source code of this file.


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

Detailed Description

GIS Library - 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.

Original author CERL

Definition in file zone.c.

Function Documentation

◆ G_zone()

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.

int cartographic zone

Definition at line 25 of file zone.c.

Referenced by Rast__check_for_auto_masking(), and Vect_get_zone().