ソースを参照

add new sepia color rule (merge from devbr6 https://trac.osgeo.org/grass/changeset/33162)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33163 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 17 年 前
コミット
0ac1039d1d
2 ファイル変更17 行追加6 行削除
  1. 11 0
      lib/gis/colors/sepia
  2. 6 6
      raster/r.colors/main.c

+ 11 - 0
lib/gis/colors/sepia

@@ -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

+ 6 - 6
raster/r.colors/main.c

@@ -1,4 +1,3 @@
-
 /****************************************************************************
  *
  * MODULE:       r.colors
@@ -158,8 +157,8 @@ int main(int argc, char **argv)
 	  "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 @@ int main(int argc, char **argv)
 	  "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;"