[GRASS-SVN] r32273 - grass-addons/raster/r.out.gmt2

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 24 19:12:30 EDT 2008


Author: hcho
Date: 2008-07-24 19:12:30 -0400 (Thu, 24 Jul 2008)
New Revision: 32273

Modified:
   grass-addons/raster/r.out.gmt2/r.out.gmt2
Log:
Copy color table

Modified: grass-addons/raster/r.out.gmt2/r.out.gmt2
===================================================================
--- grass-addons/raster/r.out.gmt2/r.out.gmt2	2008-07-24 19:17:10 UTC (rev 32272)
+++ grass-addons/raster/r.out.gmt2/r.out.gmt2	2008-07-24 23:12:30 UTC (rev 32273)
@@ -155,6 +155,7 @@
     map_tag="=1"
     echo "WARNING: Converting from double precision to floating point map" 1>&2
     r.mapcalc "tmp_gmt_$$=float($map_name)"
+    r.colors map="tmp_gmt_$$" raster="$map_name"
     map_name=tmp_gmt_$$
     ;;
 esac



More information about the grass-commit mailing list