Hi!
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.
Message of failure:
Ajax response is no XML, probably a CartoWeb failure.
Click OK to show it.

Failure:
Class: SoapFaultWrapper
Message: Error [8, Undefined index: STRING, 
C:\ms4w\apps\cartoweb3\coreplugins\query\server\ServerQuery.php, 156]
....

This is part of mapfile script. Layer.ini and query.ini are correctly set up.

LAYER
    NAME "LIDAR"
    TYPE RASTER
    DATA "rd_7790432.img"
    TEMPLATE "ttt"
    METADATA
      "force_imagetype" "jpeg"
      "id_attribute_string" "STRING|string"
      "query_returned_attributes" "VALUE"
    END
    CLASSITEM "VALUE"
    CLASS
      NAME "0 m - 900 m"
      EXPRESSION ([pixel] >= 0 AND [pixel] < 900)
      STYLE 
        COLOR 0 20 0
      END
     ....
END

International Institute for Geo-Information Science and Earth Observation (ITC)
Chamber of Commerce: 410 27 560

E-mail disclaimer
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.
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to