39 sprintf(text,
_(
"<%s> in mapset <%s>"),
name, mapset);
95 char *reclass_name,
char *reclass_mapset)
99 if (is_mask_reclass && reclass_name && reclass_mapset) {
103 if (*is_mask_reclass) {
112 *is_mask_reclass =
false;
const char * G_mapset(void)
Get current mapset name.
const char * G_find_raster(char *, const char *)
Find a raster map.
char * G_fully_qualified_name(const char *, const char *)
Get fully qualified element name.
char * G_store(const char *)
Copy string to allocated memory.
size_t G_strlcpy(char *, const char *, size_t)
Safe string copy function.
int Rast_is_reclass(const char *, const char *, char *, char *)
Check if raster map is reclassified.
char * Rast_mask_name(void)
Retrieves the name of the raster mask to use.
bool Rast_mask_status(char *name, char *mapset, bool *is_mask_reclass, char *reclass_name, char *reclass_mapset)
Get raster mask status information.
char * Rast_mask_info(void)
Get a printable text with information about raster mask.
int Rast__mask_info(char *name, char *mapset)
Get information about the current mask.
bool Rast_mask_is_present(void)
Check presence of 2D raster mask.