<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">How I have to set EXTENT parameter? What are the correct value?<br>Can you take me an example?<br><br><div>Thanks a lot.<div>Michele.</div><div><br>--- <b>Mer 7/7/10, Alexander Petkov <i>&lt;greenkov@gmail.com&gt;</i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: Alexander Petkov &lt;greenkov@gmail.com&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;pierm4ci@yahoo.it&gt;<br>Cc: mapserver-users@lists.osgeo.org<br>Data: Mercoledì 7 luglio 2010, 22:52<br><br><div id="yiv285250379">The first thing that I see is that the EXTENT needs to be corrected in your map file.<br><br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 2:47 PM, michele pierri <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:pierm4ci@yahoo.it" target="_blank"
 href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;font-size-adjust:inherit;font-stretch:inherit;" valign="top">
<div>This is what I request with a browser.</div><a rel="nofollow" target="_blank" href="http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map">http://localhost/cgi-bin/mapserv?map=/var/www/sviluppo/workshop-5.4/prova.map&amp;mode=map</a><div>
<br></div><div>Thanks again,</div><div><div class="im">Michele.<br><br>--- <b>Mer 7/7/10, Alexander Petkov <i>&lt;<a rel="nofollow" ymailto="mailto:greenkov@gmail.com" target="_blank" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;</i></b> ha scritto:<br></div>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><div class="im"><br>Da: Alexander Petkov &lt;<a rel="nofollow" ymailto="mailto:greenkov@gmail.com" target="_blank" href="/mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;<br>
Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a rel="nofollow" ymailto="mailto:pierm4ci@yahoo.it" target="_blank" href="/mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;<br>Cc: <a rel="nofollow" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
</div>Data: Mercoledì 7 luglio 2010, 22:28<div><div></div><div class="h5"><br><br><div>Can you also include a sample request that gives you a blank map?<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 1:57 PM, michele pierri <span dir="ltr">&lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;font-size-adjust:inherit;font-stretch:inherit;" valign="top">

<div><div>Hi, thanks for help me.</div><div><br></div></div><div>1. Is your file indeed georeferenced?<br></div>Yes it is georeferenced.<div><div><br></div><div>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.</div></div><div><div>How I have to modify the .map file for add this information? Can you write me an example?</div><div><br></div>
</div><div><div>3. Have you got the map file working without the class definitions?<br>I.E get a grayscale map?<br></div></div><div><div>If I write this file map I have always blank image:</div></div>
<div><div><div>MAP</div><div><span>        </span>NAME<span>        </span>"prova"</div><div><span>
        </span>CONFIG &nbsp;"PROJ_LIB" "/usr/share/proj/"</div><div><span>        </span>STATUS ON</div><div><span>        </span>SHAPEPATH "./"</div><div><span>        </span>SIZE 494 531</div><div>
<span>        </span>PROJECTION&nbsp;</div><div><span>                </span>"init=epsg:4326"</div><div><span>        </span>END</div><div><span>                </span>EXTENT -154 -57 26 33</div><div><span>        </span>DEBUG 5</div>
<div><span>        </span></div><div><span>        </span>WEB</div><div><span>                </span>IMAGEPATH
 "/var/www/sviluppo//workshop-5.4/tmp/"</div><div><span>                </span>IMAGEURL "/sviluppo/tmp/"</div><div><span>        </span>END</div><div><br></div><div><span>        </span>LAYER</div><div>
&nbsp;&nbsp;<span>                </span>NAME "tif"</div><div><span>                </span>DATA "prova.tif"</div><div><span>                </span>STATUS ON</div><div><span>                </span>TYPE RASTER</div><div><span>                </span>OFFSITE 0 0 0</div>
<div><br></div></div><div><span>        </span>END</div><div>END</div></div><div><div><br></div><div>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.</div></div><div><div>How I can enable it?</div><div><br></div><div><br></div><div>I have upload the image on another upload web service:</div><div><a rel="nofollow" target="_blank" href="http://www.megaupload.com/?d=K8SY5IP3">http://www.megaupload.com/?d=K8SY5IP3</a></div>

<div><a rel="nofollow" target="_blank" href="http://www.megaupload.com/?d=K8SY5IP3"></a>you can try this if you want.</div><div>Or can you try with a your image?</div><div><br></div><div>Thanks again.</div><div>Michele.</div>
</div><div>
<div><br>--- <b>Mer 7/7/10, Alexander Petkov <i>&lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;</i></b> ha scritto:<br></div><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">

<div><br>Da: Alexander Petkov &lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=greenkov@gmail.com">greenkov@gmail.com</a>&gt;<br>Oggetto: Re: [mapserver-users] adding a palette to a greytiff<br>A: "michele pierri" &lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt;<br>

Cc: <a rel="nofollow" target="_blank" href="http://mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>Data: Mercoledì 7 luglio
 2010, 21:29<br><br></div><div><div></div><div><div>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 rel="nofollow" target="_blank" href="http://mc/compose?to=pierm4ci@yahoo.it">pierm4ci@yahoo.it</a>&gt; wrote:<br>

&gt;<br>&gt; Hi,<br>&gt; I have this image: <a rel="nofollow" target="_blank" href="http://www.2shared.com/photo/Qu2cyRc2/prova.html">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 rel="nofollow" target="_blank" href="http://mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt; <a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>

&gt;<br></div></div></div></blockquote></div></td></tr></tbody></table><br>



      </blockquote></div><br>
</div></div></div></blockquote></div></td></tr></tbody></table><br>



      </blockquote></div><br>
</div></blockquote></div></div></td></tr></table><br>