<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Ajax response: failure on .img raster query</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi!<BR>
I'm setting the project to ask query to some raster image. For vector layers the tools is pefect, but the same operations give me a failure in raster query.<BR>
Message of failure:<BR>
Ajax response is no XML, probably a CartoWeb failure.<BR>
Click OK to show it.<BR>
<BR>
Failure:<BR>
Class: SoapFaultWrapper<BR>
Message: Error [8, Undefined index: STRING, C:\ms4w\apps\cartoweb3\coreplugins\query\server\ServerQuery.php, 156]<BR>
....<BR>
<BR>
This is part of mapfile script. Layer.ini and query.ini are correctly set up.<BR>
<BR>
LAYER<BR>
NAME "LIDAR"<BR>
TYPE RASTER<BR>
DATA "rd_7790432.img"<BR>
TEMPLATE "ttt"<BR>
METADATA<BR>
"force_imagetype" "jpeg"<BR>
"id_attribute_string" "STRING|string"<BR>
"query_returned_attributes" "VALUE"<BR>
END<BR>
CLASSITEM "VALUE"<BR>
CLASS<BR>
NAME "0 m - 900 m"<BR>
EXPRESSION ([pixel] >= 0 AND [pixel] < 900)<BR>
STYLE<BR>
COLOR 0 20 0<BR>
END<BR>
....<BR>
END</FONT>
</P>
<P><FONT color=#808080><FONT size=1><FONT face=Arial>International Institute for
Geo-Information Science and Earth Observation (ITC)<BR></FONT><FONT
face=Arial>Chamber of Commerce: 410 27 560</FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#808080><FONT size=1><STRONG>E-mail disclaimer
</STRONG><BR>The information in this e-mail, including any attachments, is
intended for the addressee only. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution or action in relation
to the content of this information is strictly prohibited. If you have received
this e-mail by mistake, please delete the message and any attachment and inform
the sender by return e-mail. ITC accepts no liability for any error or omission
in the message content or for damage of any kind that may arise as a result of
e-mail transmission.</FONT></FONT></FONT></P>
</BODY>
</HTML>