<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Class attribute in raster query</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the query return all the attributs at disposal.</FONT></DIV>
<DIV><FONT size=2>so can the Class information be retrieved via mapscript
?</FONT></DIV>
<DIV><FONT size=2>if no, then the only way you have is to </FONT><FONT
size=2>eventually use a tableRule plugin to filter the query based on the red
green blue values.</FONT></DIV>
<DIV><FONT size=2>if yes, you may be able to modify the query and mapquery
plugin so this specific information is retrieved (though I believe using a
tableRule plugin is easier)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=frigerio@itc.nl href="mailto:frigerio@itc.nl">Simone Frigerio</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 25, 2009 10:20
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Class attribute
in raster query</DIV>
<DIV><BR></DIV><!-- Converted from text/plain format --><BR>
<P><FONT size=2>Hi all,<BR>I inserted a raster layer (GRID) on mapfile and it
is correctly visualized. Following raster query settings (return point feature
with attributes) of mapserver I want to perform a query on it. The query work
but give me back this list of value (it's correct):<BR><BR>x y
value_list value_n red green blue<BR><BR>The problem
is that the tool doesn't insert the CLASS attribute (the name of the class the
pixel is a member of). Only classified raster can visualize "class" attribute,
and I performed a classification.<BR>So can you give me what is the set up I
forgot? Where I have to put a parameter to define an attribute "class" on
query respond?<BR>Regards<BR><BR>Simone </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>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>