<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi steve, I use COLORRANGE with raster dataset and gives great results but never use it with vector dataset?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME "MNE_rouge"<BR>&nbsp;&nbsp;&nbsp; GROUP "OMBRAGE_ROUGE"<BR>&nbsp;&nbsp;&nbsp; TILEINDEX "F:\Data\MNEOMB20K\mne"<BR>&nbsp;&nbsp;&nbsp; TILEITEM "location"<BR>&nbsp;&nbsp;&nbsp; TRANSPARENCY 40<BR>&nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp;&nbsp;&nbsp; PROCESSING "SCALE=-63,1276"<BR>&nbsp;&nbsp;&nbsp; MAXSCALE 200000<BR>&nbsp;&nbsp;&nbsp; MINSCALE 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_name"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "MNE_rouge"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_server_version"&nbsp;&nbsp;&nbsp; "1.1.1"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "MNE"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_abstract"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "(1/200 000)"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "EPSG:2036 EPSG:3799 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304 EPSG:900913"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_extent"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "-1100000 -23500 1100000 2253500"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:32198"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLORRANGE 255 255 255 178 34 34<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATARANGE -63 1276<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR></DIV>
<DIV><BR>&gt;&gt;&gt; &lt;Steve.Toutant@inspq.qc.ca&gt; 17/6/2009 11:17 &gt;&gt;&gt;<BR><BR><FONT face=sans-serif size=2>Hi,</FONT> <BR><FONT face=sans-serif size=2>How should I define a layer class to use color range mapping?</FONT> <BR><FONT face=sans-serif size=2>I would like to be able to request GetLegendGraphic on this layer as well</FONT> <BR><BR><FONT face=sans-serif size=2>I read this http://mapserver.org/development/rfc/ms-rfc-6.html</FONT> <BR><BR><FONT face=sans-serif size=2>But I found nothing in the offical mapfile doc</FONT> <BR><BR><FONT face=sans-serif size=2>Thanks</FONT> <BR><FONT face=sans-serif size=2>Steve</FONT> <BR><BR><FONT face=sans-serif size=2><BR></FONT><FONT color=#0066ff size=3><I>Steve Toutant, M. Sc.</I></FONT><FONT size=3><BR>Analyste en géomatique<BR>Secteur environnement<BR>Direction des risques biologiques, environnementaux et occupationnels<BR>Institut national de santé publique du Québec<BR>945, avenue Wolfe<BR>Québec, Qc G1V 5B3 </FONT></DIV>
<P><FONT size=3>Tél.: (418) 650-5115 #5281<BR>Fax.: (418) 654-3144</FONT><FONT color=blue size=3><U><BR></U></FONT><A href="mailto:steve.toutant@inspq.qc.ca"><FONT color=blue size=3><U>steve.toutant@inspq.qc.ca</U></FONT></A><FONT color=blue size=3><U><BR></U></FONT><A href="http://www.inspq.qc.ca/"><FONT color=blue size=3><U>http://www.inspq.qc.ca</U></FONT></A> 
<P><FONT size=3>&nbsp; </FONT>
<P></P></BODY></HTML>