Center for Spatial Information Science and Systems (CSISS)
CSISS Geospatial Web Services index


This service allows the user to create or modify the color table for a raster map layer using pre-defined color type.


predefinedColor - Creates or modifies the color table for a raster map layer using pre-defined color type.

Request Parameters:

URL of input raster map
Default format: GeoTIFF
Type of GRASS predefined color table
Parameter format: string
Options: aspect,aspectcolr,bcyr,bgyr,byg,byr,celsius,curvature,differences,elevation,etopo2,evi,grey,grey1.0,grey255,gyr,ndvi,population,precipitation,rainbow,ramp,ryb,ryg,sepia,slope,srtm,terrain,wave,random,grey.eq,grey.log,rules
aspect: aspect oriented grey colors
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
byr: blue through yellow to red
celsius: blue to red for degree Celsius temperature
curvature: for terrain curvatures (from and r.slope.aspect)
differences: differences oriented colors
elevation: maps relative ranges of raster values to elevation color ramp
etopo2: colors for ETOPO2 worldwide bathymetry/topography
evi: enhanced vegetative index colors
grey: grey scale
grey1.0: grey scale for raster values between 0.0-1.0
grey255: grey scale for raster values between 0-255
gyr: green through yellow to red
ndvi: Normalized Difference Vegetation Index colors
population: color table covering human population classification breaks
precipitation: precipitation color table (0..2000mm)
rainbow: rainbow color table
ramp: color ramp
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
terrain: global elevation color table covering -11000 to +8850m
wave: color wave
random: random color table
grey.eq: histogram-equalized grey scale
grey.log: histogram logarithmic transformed grey scale
rules: create new color table based on user-specified rules read from stdin
Type of output GeoTIFF file. The output Format Type is specified as GeoTIFF
Parameter format: string
Options: Byte, Int16, UInt16, UInt32, Int32, Float32, Float64, CInt16, CInt32, CFloat32, CFloat64

Response Parameters:

URL of raster map with new color table
Format of output raster map
Default: GeoTIFF

For further informations


See also GRASS command


Copyright Center for Spatial Information Science and Systems (CSISS), 2002-2010
George Mason University (GMU), 4400 University Drive, MSN 6E1, Fairfax, VA 22030, USA

Any comments to:webmaster