00001 /********************************************************************** 00002 * 00003 * G_remove_colr (name) 00004 * char *name name of map to remove color table 00005 * 00006 * Removes the color information associated with map layer "map" 00007 * (in the current mapset) 00008 * 00009 * returns: 0 00010 *********************************************************************/ 00011 00012 #include <grass/gis.h> 00013 int G_remove_colr (char *name ) 00014 { 00015 char secondary[50]; 00016 00017 G_remove ("colr", name); 00018 sprintf (secondary,"colr2/%s", G_mapset()); 00019 G_remove (secondary, name); 00020 return 0; 00021 }