[GRASS-SVN] r33668 - grass-addons/vector/v.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 4 06:03:09 EDT 2008
Author: hamish
Date: 2008-10-04 06:03:09 -0400 (Sat, 04 Oct 2008)
New Revision: 33668
Modified:
grass-addons/vector/v.colors/v.colors
Log:
save dummy raster metadata so we can ID who goes with who
Modified: grass-addons/vector/v.colors/v.colors
===================================================================
--- grass-addons/vector/v.colors/v.colors 2008-10-04 08:28:33 UTC (rev 33667)
+++ grass-addons/vector/v.colors/v.colors 2008-10-04 10:03:09 UTC (rev 33668)
@@ -316,6 +316,14 @@
if [ $GIS_FLAG_S -eq 1 ] ; then
g.rename rast="tmp_colr_$$","vcolors_$$"
echo "Raster map containing color rules saved to <vcolors_$$>"
+ # TODO save full v.colors command line history
+ r.support map="vcolors_$$" history="" \
+ source1="vector map=$GIS_OPT_MAP" \
+ source2="column=$GIS_OPT_COLUMN" \
+ title="Dummy raster to use as thematic vector legend" \
+ description="generated by v.colors using r.mapcalc"
+ r.support map="vcolors_$$" \
+ history="RGB saved into <$GIS_OPT_RGB_COLUMN> using <$GIS_OPT_COLOR$GIS_OPT_RASTER$GIS_OPT_RULES>"
else
g.remove rast="tmp_colr_$$"
fi
More information about the grass-commit
mailing list