[postgis-users] raster outputs

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Jul 21 10:56:34 PDT 2011


> But how do I assign colors to each class, as in 0-20 = blue, 20-30 = purple, etc?

Use ST_Reclass() to reclass your values to three R,G,B bands.

http://postgis.refractions.net/documentation/manual-svn/RT_ST_Reclass.html

Pierre





More information about the postgis-users mailing list