GRASS Programmer's Manual 6.4.1(2011)
get_projinfo.c File Reference

GIS Library - Get projection info. More...

#include <unistd.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for get_projinfo.c:

Go to the source code of this file.

Defines

#define PERMANENT   "PERMANENT"

Functions

struct Key_Value * G_get_projunits (void)
 Gets unit information for location.
struct Key_Value * G_get_projinfo (void)
 Gets projection information for location.

Detailed Description

GIS Library - Get projection info.

(C) 1999-2008 by the GRASS Development Team

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

Definition in file get_projinfo.c.


Define Documentation

#define PERMANENT   "PERMANENT"

Definition at line 18 of file get_projinfo.c.

Referenced by G_get_ellipsoid_parameters(), G_get_projinfo(), and G_get_projunits().


Function Documentation

struct Key_Value* G_get_projinfo ( void  ) [read]

Gets projection information for location.

Returns:
pointer to Key_Value structure with key/value pairs

Definition at line 52 of file get_projinfo.c.

References G__file_name(), G_location(), G_read_key_value_file(), G_warning(), NULL, and PERMANENT.

Referenced by G_database_datum_name().

struct Key_Value* G_get_projunits ( void  ) [read]

Gets unit information for location.

Returns:
pointer to Key_Value structure with key/value pairs

Definition at line 25 of file get_projinfo.c.

References G__file_name(), G_location(), G_read_key_value_file(), G_warning(), NULL, and PERMANENT.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines