<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br>I have this image: http://www.2shared.com/photo/Qu2cyRc2/prova.html<br>I would visualize it with a colour scaled palette.<br>I have write this file.map, but I receive only blank page.<br><br>MAP<br> NAME "prova"<br> CONFIG "PROJ_LIB" "/usr/share/proj/"<br> STATUS ON<br> SHAPEPATH "./"<br> SIZE 494 531<br> PROJECTION <br> "init=epsg:4326"<br> END<br> EXTENT -154 -57 26 33<br> DEBUG 5<br> <br> WEB <br> IMAGEPATH "/var/www/sviluppo//workshop-5.4/tmp/"<br> IMAGEURL
"/sviluppo/tmp/"<br> END<br><br> LAYER<br> NAME "tif"<br> DATA "prova.tif"<br> STATUS ON<br> TYPE RASTER<br> OFFSITE 0 0 0<br> CLASSITEM "[pixel]"<br><br> CLASS<br> EXPRESSION ([pixel] >= 0 AND [pixel] < 10 )<br> STYLE<br> COLOR 0 255 255<br> END<br> END<br><br> CLASS<br> EXPRESSION
([pixel] >= 10 AND [pixel] < 40)<br> STYLE<br> COLOR 0 255 0<br> END<br> END<br><br> CLASS<br> EXPRESSION ( [pixel] >= 40 AND [pixel] < 80)<br> STYLE <br> COLOR 255 255 0<br> END<br> END<br><br> CLASS<br> EXPRESSION ([pixel] >= 80 AND [pixel] < 120)<br>
STYLE<br> COLOR 255 127 0<br> END<br> END<br><br> CLASS<br> EXPRESSION ([pixel] >= 120 AND [pixel] < 150)<br> STYLE<br> COLOR 255 0 0<br> END<br> END<br><br> CLASS<br> EXPRESSION ([pixel] >= 150 AND [pixel] < 200)<br> STYLE<br> COLOR 255
127 255<br> END<br> END<br><br> CLASS<br> EXPRESSION ([pixel] >= 200 AND [pixel]<40)<br> STYLE<br> COLOR 0 0 0<br> END<br> END<br> END<br>END<br><br><br>Can anyone help me please? I am sorry but I am a beginner.<br>Thanks in advance,<br>Michele.<br><br></td></tr></table><br>