<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Ok,<div>Thank you,</div><div>Michele.<br><br>--- <b>Gio 8/7/10, Lime, Steve D (DNR) <i>&lt;Steve.Lime@state.mn.us&gt;</i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: Lime, Steve D (DNR) &lt;Steve.Lime@state.mn.us&gt;<br>Oggetto: RE: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;pierm4ci@yahoo.it&gt;, "Alexander Petkov" &lt;greenkov@gmail.com&gt;, "mapserver-users@lists.osgeo.org" &lt;mapserver-users@lists.osgeo.org&gt;<br>Data: Giovedì 8 luglio 2010, 03:45<br><br><div class="plainMail">I guess I'd recommend moving to the OL website and looking at their examples. They've done a WONDERFUL job of providing examples that<br>cover most typical (and a number of atypical) use cases- including basic
 MapServer.<br><br>Steve<br>________________________________________<br>From: <a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org" href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org" href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of michele pierri [<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>]<br>Sent: Wednesday, July 07, 2010 5:02 PM<br>To: Lime, Steve D (DNR); Alexander Petkov; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>Subject: RE: [mapserver-users] adding a palette to a greytiff<br><br>Thank you!<br>Now it works. Here there is my output example results: <a
 href="http://img413.imageshack.us/img413/7964/mapserv.gif" target="_blank">http://img413.imageshack.us/img413/7964/mapserv.gif</a><br><br>Now can I put this image on a background map? For example on openlayers map?<br><br>Thanks again,<br>Michele.<br><br><br>--- Mer 7/7/10, Lime, Steve D (DNR) &lt;<a ymailto="mailto:Steve.Lime@state.mn.us" href="/mc/compose?to=Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>&gt; ha scritto:<br><br>Da: Lime, Steve D (DNR) &lt;<a ymailto="mailto:Steve.Lime@state.mn.us" href="/mc/compose?to=Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>&gt;<br>Oggetto: RE: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;, "Alexander Petkov" &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;, "<a ymailto="mailto:mapserver-users@lists.osgeo.org"
 href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>" &lt;<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>Data: Mercoledì 7 luglio 2010, 23:41<br><br>The layer needs to be turned on. By default with the CGI all layers are turned off unless they are "STATUS DEFAULT". To fix, either:<br><br>&nbsp; 1) set the layer "tif" status to DEFAULT or<br>&nbsp; 2) change your call to the CGI to something like:&nbsp; <a href="http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map&amp;layer=tif" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map&amp;layer=tif</a><br><br>Steve<br><br>________________________________________<br>From: <a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org"
 href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org" href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>&gt; [<a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org" href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users-bounces@lists.osgeo.org" href="/mc/compose?to=mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>&gt;] On Behalf Of michele pierri [<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;]<br>Sent: Wednesday, July 07, 2010 4:20 PM<br>To: Alexander
 Petkov; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>Subject: Re: [mapserver-users] adding a palette to a greytiff<br><br>I have added this line in .map file:<br>CONFIG&nbsp; "MS_ERRORFILE" "/tmp/mapserver.log"<br><br>And this is the output:<br><br>[Wed Jul&nbsp; 7 23:18:21 2010].797918 CGI Request 1 on process 4712<br>[Wed Jul&nbsp; 7 23:18:21 2010].798507 msDrawMap(): Drawing Label Cache, 0.000s<br>[Wed Jul&nbsp; 7 23:18:21 2010].798536 msDrawMap() total time: 0.000s<br>[Wed Jul&nbsp; 7 23:18:21 2010].805594 msSaveImage() total time: 0.007s<br>[Wed Jul&nbsp; 7 23:18:21 2010].805715 mapserv request processing time (loadmap not incl.): 0.008s<br>[Wed Jul&nbsp; 7 23:18:21 2010].805731
 msFreeMap(): freeing map at 0x8dd72a0.<br><br>May be useful?<br>Thanks.<br>--- Mer 7/7/10, michele pierri &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&gt; ha scritto:<br><br>Da: michele pierri &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "Alexander Petkov" &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&gt;, <a
 ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>Data: Mercoledì 7 luglio 2010, 22:58<br><br>How I have to set EXTENT parameter? What are the correct value?<br>Can you take me an example?<br><br>Thanks a lot.<br>Michele.<br><br>--- Mer 7/7/10, Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&gt; ha scritto:<br><br>Da: Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com"
 href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&gt;<br>Cc: <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>Data: Mercoledì 7 luglio 2010, 22:52<br><br>The first thing that I see is that the EXTENT needs to be corrected in your map file.<br><br><br>On Wed, Jul 7, 2010 at 2:47 PM, michele pierri &lt;<a ymailto="mailto:pierm4ci@yahoo.it"
 href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&gt; wrote:<br>This is what I request with a browser.<br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map</a><br><br>Thanks again,<br>Michele.<br><br>--- Mer 7/7/10, Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&gt; ha scritto:<br><br>Da: Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com"
 href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&gt;<br>Cc: <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>Data: Mercoledì 7 luglio 2010, 22:28<br><br><br>Can you also include a sample request that gives you a blank map?<br><br>On Wed, Jul 7, 2010 at 1:57 PM, michele pierri &lt;<a ymailto="mailto:pierm4ci@yahoo.it"
 href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&lt;<a href="http://mc/compose?to=pierm4ci@yahoo.it" target="_blank">http://mc/compose?to=pierm4ci@yahoo.it</a>&gt;&gt; wrote:<br>Hi, thanks for help me.<br><br>1. Is your file indeed georeferenced?<br>Yes it is georeferenced.<br><br>2. The style definitions look good, the only thing I see missing are<br>the class names. Not sure if that matters if you don't display a<br>legend.<br>How I have to modify the .map file for add this information? Can you write me an example?<br><br>3. Have you got the map file working without the class definitions?<br>I.E get a grayscale map?<br>If I write this file map I have always blank image:<br>MAP<br>NAME "prova"<br>CONFIG&nbsp; "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>WEB<br>IMAGEPATH "/var/www/sviluppo//workshop-5.4/tmp/"<br>IMAGEURL "/sviluppo/tmp/"<br>END<br><br>LAYER<br>&nbsp;&nbsp;&nbsp;NAME "tif"<br>DATA "prova.tif"<br>STATUS ON<br>TYPE RASTER<br>OFFSITE 0 0 0<br><br>END<br>END<br><br>4. Have you attempted to discover what is wrong by looking at the<br>mapserver log? You will need to enable logging in your map file.<br>How I can enable it?<br><br><br>I have upload the image on another upload web service:<br><a href="http://www.megaupload.com/?d=K8SY5IP3" target="_blank">http://www.megaupload.com/?d=K8SY5IP3</a><br>&lt;<a href="http://www.megaupload.com/?d=K8SY5IP3" target="_blank">http://www.megaupload.com/?d=K8SY5IP3</a>&gt;you can try this if you want.<br>Or can you try with a your image?<br><br>Thanks again.<br>Michele.<br><br>--- Mer 7/7/10, Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com"
 href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&lt;<a href="http://mc/compose?to=greenkov@gmail.com" target="_blank">http://mc/compose?to=greenkov@gmail.com</a>&gt;&gt; ha scritto:<br><br>Da: Alexander Petkov &lt;<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&lt;/mc/compose?to=<a ymailto="mailto:greenkov@gmail.com" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;&lt;<a href="http://mc/compose?to=greenkov@gmail.com" target="_blank">http://mc/compose?to=greenkov@gmail.com</a>&gt;&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it"
 href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&lt;<a href="http://mc/compose?to=pierm4ci@yahoo.it" target="_blank">http://mc/compose?to=pierm4ci@yahoo.it</a>&gt;&gt;<br>Cc: <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;&lt;<a href="http://mc/compose?to=mapserver-users@lists.osgeo.org" target="_blank">http://mc/compose?to=mapserver-users@lists.osgeo.org</a>&gt;<br>Data: Mercoledì 7 luglio 2010, 21:29<br><br>For some reason I can;t get to the file you posted, so I have a few question.<br><br>1. Is your file indeed georeferenced?<br>2. The style definitions look good, the only thing I see missing are<br>the class names. Not sure if that matters if you don't display
 a<br>legend.<br>3. Have you got the map file working without the class definitions?<br>I.E get a grayscale map?<br>4. Have you attempted to discover what is wrong by looking at the<br>mapserver log? You will need to enable logging in your map file.<br><br>Alex<br><br>On Wed, Jul 7, 2010 at 9:44 AM, michele pierri &lt;<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&lt;/mc/compose?to=<a ymailto="mailto:pierm4ci@yahoo.it" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;&lt;<a href="http://mc/compose?to=pierm4ci@yahoo.it" target="_blank">http://mc/compose?to=pierm4ci@yahoo.it</a>&gt;&gt; wrote:<br>&gt;<br>&gt; Hi,<br>&gt; I have this image: <a href="http://www.2shared.com/photo/Qu2cyRc2/prova.html" target="_blank">http://www.2shared.com/photo/Qu2cyRc2/prova.html</a><br>&gt; I would visualize it with a colour scaled palette.<br>&gt; I have write this file.map, but I receive only blank
 page.<br>&gt;<br>&gt; MAP<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;NAME&nbsp; &nbsp; "prova"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;CONFIG&nbsp; "PROJ_LIB" "/usr/share/proj/"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;STATUS ON<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;SHAPEPATH "./"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;SIZE 494 531<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;PROJECTION<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;"init=epsg:4326"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXTENT -154 -57 26 33<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;DEBUG 5<br>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;WEB<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;IMAGEPATH "/var/www/sviluppo//workshop-5.4/tmp/"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;IMAGEURL "/sviluppo/tmp/"<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;LAYER<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;NAME "tif"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;DATA
 "prova.tif"<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STATUS ON<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;TYPE RASTER<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;OFFSITE 0 0 0<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASSITEM "[pixel]"<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 0 AND [pixel] &lt; 10 )<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 0 255 255<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 10 AND [pixel] &lt; 40)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 0 255 0<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ( [pixel] &gt;= 40 AND [pixel] &lt; 80)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 255 255 0<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 80 AND [pixel] &lt; 120)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 255 127 0<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 120 AND [pixel] &lt; 150)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 255 0 0<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 150 AND [pixel] &lt; 200)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 255 127 255<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp;&nbsp;&nbsp;END<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;CLASS<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;EXPRESSION ([pixel] &gt;= 200 AND [pixel]&lt;40)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;STYLE<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;COLOR 0 0 0<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;END<br>&gt; END<br>&gt;<br>&gt;<br>&gt; Can anyone help me please? I am sorry but I am a beginner.<br>&gt; Thanks in advance,<br>&gt; Michele.<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a
 ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;&lt;<a href="http://mc/compose?to=mapserver-users@lists.osgeo.org" target="_blank">http://mc/compose?to=mapserver-users@lists.osgeo.org</a>&gt;<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;<br><br><br><br><br><br><br><br><br><br>-----Segue allegato-----<br><br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;&lt;/mc/compose?to=<a
 ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&lt;/mc/compose?to=<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;&gt;<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br><br><br><br><br></div></blockquote></div></td></tr></table><br>