GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
char * | Rast_get_cell_title (const char *name, const char *mapset) |
get raster map title More... | |
char* Rast_get_cell_title | ( | const char * | name, |
const char * | mapset | ||
) |
get raster map title
If only the map layer title is needed, it is not necessary to read the entire category file into memory. This routine gets the title for raster map name in mapset directly from the category file, and returns a pointer to the title. A legal pointer is always returned. If the map layer does not have a title, then a pointer to the empty string "" is returned.
name | |
mapset |
Definition at line 27 of file cell_title.c.
References G_fopen_old(), G_getl(), G_store(), and G_strip().