Index: mapfile-reference.xml
===================================================================
RCS file: /data2/cvsroot/mapserver_docs/mapfile-reference.xml,v
retrieving revision 1.52
diff -U5 -r1.52 mapfile-reference.xml
--- mapfile-reference.xml	20 Apr 2005 17:57:36 -0000	1.52
+++ mapfile-reference.xml	26 Apr 2005 20:32:55 -0000
@@ -905,10 +905,62 @@
                     <term>OUTLINECOLOR [r] [g] [b]</term>
                     <listitem>
                         <para>Color to use for outlining polygons and certain marker symbols. Line symbols do not support outline colors.</para>
                     </listitem>
                 </varlistentry>
+
+                <varlistentry>
+                    <term>RANGEITEM [attribute]</term>
+                    <listitem>
+                        <para>
+			Specifies the attribute that will be used to
+                    map colors between the high and low ends of the
+                    COLORRANGE entry.  Colors are mapped to a
+                    continuous linear gradient between the two values.
+		        </para>
+			<para>
+			Here is an example mapping the values 0.0-1.0
+                    to RED-GREEN.
+		        </para>
+			<programlisting>
+STYLE
+  RANGEITEM "myAttr"
+  COLORRANGE 255 0 0  0 255 0
+  DATARANGE 0.0 1.0
+  COLOR 0 255 0 #some parts of Mapserver still require a color
+END		
+            </programlisting>
+
+                    </listitem>
+                </varlistentry>
+
+                <varlistentry>
+                    <term>COLORRANGE [r] [g] [b]  [r] [g] [b]</term>
+                    <listitem>
+                        <para>
+			Defines two colors to correspond to the low
+                    and high ends of the DATARANGE values.  Colors are
+                    mapped to a continuous linear gradient between the
+                    two values.
+		        </para>
+                    </listitem>
+                </varlistentry>
+		
+                <varlistentry>
+                    <term>DATARANGE [lowValue] [highValue]</term>
+                    <listitem>
+                        <para>
+			Defines two values that mapserver will map to
+                    the color range defined by the COLORRANGE entry.
+		    Values must be constants that evaluate to an
+                    integer or floating point decimal.  Colors are
+                    mapped to a continuous linear gradient between the
+                    two values.
+		        </para>
+                    </listitem>
+                </varlistentry>
+		
                 <varlistentry>
                     <term>SIZE [integer]</term>
                     <listitem>
                         <para>Height, in pixels, of the symbol/pattern to be used. Only useful with scalable symbols. Default is 1.</para>
                     </listitem>

