15 #include <grass/gis.h>
16 #include <grass/glocale.h>
18 #define PERMANENT "PERMANENT"
28 struct Key_Value *in_units_keys;
32 if (access(path, 0) != 0) {
33 G_warning(_(
"<%s> file not found for location <%s>"),
39 G_warning(_(
"ERROR in reading <%s> file for location <%s>"),
55 struct Key_Value *in_proj_keys;
59 if (access(path, 0) != 0) {
60 G_warning(_(
"<%s> file not found for location <%s>"),
66 G_warning(_(
"ERROR in reading <%s> file for location <%s>"),
struct Key_Value * G_get_projunits(void)
Gets unit information for location.
char * G__file_name(char *path, const char *element, const char *name, const char *mapset)
Builds full path names to GIS data files.
struct Key_Value * G_read_key_value_file(const char *file, int *stat)
Read key/values pairs from file.
char * G_location(void)
Get current location name.
struct Key_Value * G_get_projinfo(void)
Gets projection information for location.
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)