[GRASS-SVN] r33163 - in grass/trunk: lib/gis/colors raster/r.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 30 01:49:04 EDT 2008


Author: hamish
Date: 2008-08-30 01:49:04 -0400 (Sat, 30 Aug 2008)
New Revision: 33163

Added:
   grass/trunk/lib/gis/colors/sepia
Modified:
   grass/trunk/raster/r.colors/main.c
Log:
add new sepia color rule (merge from devbr6 r33162)

Added: grass/trunk/lib/gis/colors/sepia
===================================================================
--- grass/trunk/lib/gis/colors/sepia	                        (rev 0)
+++ grass/trunk/lib/gis/colors/sepia	2008-08-30 05:49:04 UTC (rev 33163)
@@ -0,0 +1,11 @@
+0% 0:0:0
+10% 34:23:9
+20% 68:47:19
+30% 101:72:33
+40% 130:96:49
+50% 158:122:71
+60% 183:147:96
+70% 206:174:126
+80% 225:200:162
+90% 242:227:204
+100% 255:254:251

Modified: grass/trunk/raster/r.colors/main.c
===================================================================
--- grass/trunk/raster/r.colors/main.c	2008-08-30 05:42:31 UTC (rev 33162)
+++ grass/trunk/raster/r.colors/main.c	2008-08-30 05:49:04 UTC (rev 33163)
@@ -1,4 +1,3 @@
-
 /****************************************************************************
  *
  * MODULE:       r.colors
@@ -158,8 +157,8 @@
 	  "aspectcolr;aspect oriented rainbow colors;"
 	  "bcyr;blue through cyan through yellow to red;"
 	  "bgyr;blue through green through yellow to red;"
-	  "byg;blue through yellow to green colors;"
-	  "byr;blue through yellow to red colors;"
+	  "byg;blue through yellow to green;"
+	  "byr;blue through yellow to red;"
 	  "curvature;for terrain curvatures (from v.surf.rst and r.slope.aspect curvature colors);"
 	  "differences;differences oriented colors;"
 	  "elevation;maps percentage ranges of raster values to elevation color ramp;"
@@ -170,14 +169,15 @@
 	  "grey255;grey scale for raster values bewtween 0-255;"
 	  "grey.eq;histogram-equalized grey scale;"
 	  "grey.log;histogram logarithmic transformed grey scale;"
-	  "gyr;green through yellow to red colors;"
+	  "gyr;green through yellow to red;"
 	  "ndvi;Normalized Difference Vegetation Index colors;"
 	  "population;color table covering human population classification breaks;"
 	  "rainbow;rainbow color table;"
 	  "ramp;color ramp;"
 	  "random;random color table;"
-	  "ryb;red through yellow to blue colors;"
-	  "ryg;red through yellow to green colors;"
+	  "ryb;red through yellow to blue;"
+	  "ryg;red through yellow to green;"
+	  "sepia;yellowish-brown through to white;"
 	  "slope;r.slope.aspect-type slope colors for raster values 0-90;"
 	  "srtm;color palette for Shuttle Radar Topography Mission elevation values;"
 	  "terrain;global elevation color table covering -11000 to +8850m;"



More information about the grass-commit mailing list