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