22 #include <grass/gis.h>
26 char element[GMAPSET_MAX + 6];
31 if (strcmp(xmapset, mapset) != 0)
37 sprintf(element,
"colr2/%s", mapset);
char * G_mapset(void)
current mapset name
sprintf(buf2,"%s", G3D_CATS_ELEMENT)
int G_remove(const char *element, const char *name)
Remove a database file.
int G_remove_colors(const char *name, const char *mapset)
int G__name_is_fully_qualified(const char *fullname, char *name, char *mapset)
Check if map name is fully qualified (map @ mapset)