<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> </DIV>
<DIV> LAYER<BR> NAME "MNE_rouge"<BR> GROUP "OMBRAGE_ROUGE"<BR> TILEINDEX "F:\Data\MNEOMB20K\mne"<BR> TILEITEM "location"<BR> TRANSPARENCY 40<BR> TYPE RASTER<BR> PROCESSING "SCALE=-63,1276"<BR> MAXSCALE 200000<BR> MINSCALE 1<BR> METADATA<BR> "wms_name" "MNE_rouge"<BR> "wms_server_version" "1.1.1"<BR> "wms_title" "MNE"<BR> "wms_abstract" "(1/200 000)"<BR> "wms_srs" "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> "wms_extent" "-1100000 -23500 1100000 2253500"<BR> END<BR> PROJECTION<BR> "init=epsg:32198"<BR> END</DIV>
<DIV> </DIV>
<DIV> CLASS<BR> STYLE<BR> COLORRANGE 255 255 255 178 34 34<BR> DATARANGE -63 1276<BR> END<BR> END<BR> END<BR></DIV>
<DIV><BR>>>> <Steve.Toutant@inspq.qc.ca> 17/6/2009 11:17 >>><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> </FONT>
<P></P></BODY></HTML>