My mistake, I replied only to Frank.<br>So here is everything (hopefully) you need to test the bug.<br><br>M<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Marco Cerruti
</b> <<a href="mailto:cerruti.marco@gmail.com">cerruti.marco@gmail.com</a>><br>Date: 20-apr-2007 16.46<br>Subject: Re: [UMN_MAPSERVER-USERS] MS4W: Queries on classified rasters<br>To: Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">
warmerdam@pobox.com</a>><br><br></span><div>So ...</div>
<div> </div>
<div>here's the link to download the zip file:</div>
<div><a href="http://www.marcocerruti.it/MS4W_test.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.marcocerruti.it/MS4W_test.zip</a></div>
<div> </div>
<div>In the zip there are:</div>
<div>- minimal mapfile (only two classified raster layers presenting the problem)</div>
<div>- raster data (a couple of mbytes)</div>
<div>- query templates (problem is on queries, I think you need them)</div>
<div>- map template, html legend template, and a few of necessary files to let everything properly work (css, images, scripts)</div>
<div> </div>
<div>URL triggering the problem:</div>
<div>[yourlocalhost]<a href="http://localhost:81/cgi-bin/mapserv.exe?map=/ms4w/apps/valgrande_test/vg.map&layer=dem&layer=class_2000&mode=browse" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
/cgi-bin/mapserv.exe?map=/ms4w/apps/valgrande_test/vg.map&layer=dem&layer=class_2000&mode=browse </a></div>
<div>Just select query mode (question mark) and try to query these two layers.</div>
<div> </div>
<div>Bug reported:</div>
<div>In querying classified raster layers the following error occurs:</div><span class="q">
<div><strong>msDrawShape(): General error message. Unknown layer type.</strong> </div></span>
<div>The same error does not occur if raster layers are not classified.</div>
<div> </div>
<div> </div>
<div>Thanks in advance,</div>
<div>Marco<br><br> </div>
<div><span class="gmail_quote">2007/4/20, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">warmerdam@pobox.com</a>>:</span>
<div><span class="e" id="q_1120f752d3d16307_3"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Marco Cerruti wrote:<br>> Besides this, tell me what else should I do to let you reproduce the
<br>> same problem.
<br><br>Marco,<br><br>I am looking for a bug report with:<br><br>o A minimal map file that can be used to reproduce the problem. Strip out<br> all other layers, fontlists, etc not required to reproduce the problem.<br>
o If the raster file is large, cut out a small chunk and submit this small<br> dataset with the bug report in stead of a large file.<br>o The bug report should have the exact url triggering the problem, assuming<br> that the problem with was
mapserv.exe, not a mapscript script.<br>o Make clear how I will know the errors is occuring (presumably the error<br> message from msDrawShape()).<br><br>The objective is to give me something I can unzip, and then run mapserv
<br>at the commandline with to reproduce the error with at most a minute or<br>two of fiddling to adjust things to my local environment.<br><br>Most bugs languish on the vine because reproducing the original problem is<br>
too hard (or even just *seems* like it might be too hard).<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam,
<a href="mailto:warmerdam@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGeo, <a href="http://osgeo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://osgeo.org</a><br><br>
</blockquote>
</span></div></div><br>