<div>Frank,</div>
<div>thanks for your answer,&nbsp;actually I&#39;m&nbsp;moving this &quot;my-first-MapServer&quot; to a public host, in order to test it and then make it accessible to a (some) possible end-user(s). Query on classified rasters was the last thing to fix, so,&nbsp;as it can&#39;t be fixed now,&nbsp;I hope to put everything online in few days, with contents of mapfile and templates accessible to visitors.
</div>
<div>&nbsp;</div>
<div>Besides this, tell me what else should I do to let you reproduce the same problem.</div>
<div>&nbsp;</div>
<div>... and thanks again!</div>
<div>M</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">2007/4/20, Frank Warmerdam &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Marco Cerruti wrote:<br>&gt; Hi all,<br>&gt; I&#39;m a new user of Mapserver. I&#39;m working with MS4W (version 
2.2.3) via<br>&gt; CGI and I&#39;m having troubles with queries on classified rasters. Queries<br>&gt; on non-classified rasters work fine, while in cases of classified ones<br>&gt; (already tried several formats: img, bil, tif, png) I get the following
<br>&gt; error:<br>&gt;<br>&gt; msDrawShape(): General error message. Unknown layer type.<br>&gt;<br>&gt; If I comment CLASS definitions the same query shows me correct results<br>&gt; (one or more pixels queried, according to the set tolerance, but of
<br>&gt; course no information on [class] value).<br>&gt;<br>&gt; I post an extract of my mapfile, with the definition of the raster layer<br>&gt; and one of its classes. Maybe I&#39;m doing something wrong with class<br>
&gt; template (and layer header/footer ...).<br>&gt;<br>&gt; Hoping to receive a little help ... and sorry for my English!<br><br>Marco,<br><br>I think this is a bug in mapserver.&nbsp;&nbsp;That I did not touch all the<br>parts of the code I should have when implementing raster query support.
<br><br>Could you boil this down to a minimum test to demonstrate the problem<br>and submit a bug report?&nbsp;&nbsp;If I can easily reproduce the problem with<br>your test data, I&#39;ll try and fix it fairly promptly.<br><br>Best regards,
<br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | 
<a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush&nbsp;&nbsp;&nbsp;&nbsp;| President OSGeo, <a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br>