16 #include <grass/gis.h> 35 if (strcmp(xmapset, mapset) != 0)
41 sprintf(element,
"colr2/%s", mapset);
int G_remove(const char *element, const char *name)
Remove a database file.
int G_name_is_fully_qualified(const char *fullname, char *name, char *mapset)
Check if map name is fully qualified (map @ mapset)
const char * G_mapset(void)
Get current mapset name.
int Rast_remove_colors(const char *name, const char *mapset)
Remove color table of raster map.