[Cartoweb-users] Class attribute in raster query
    Oliver Christen 
    oliver.christen at camptocamp.com
       
    Mon Mar  2 04:12:20 EST 2009
    
    
  
Class attribute in raster queryHi
the query return all the attributs at disposal.
so can the Class information be retrieved via mapscript ?
if no, then the only way you have is to eventually use a tableRule plugin to filter the query based on the red green blue values.
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)
regards
Oliver
  ----- Original Message ----- 
  From: Simone Frigerio 
  To: cartoweb 
  Sent: Wednesday, February 25, 2009 10:20 AM
  Subject: [Cartoweb-users] Class attribute in raster query
  Hi all,
  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):
  x  y  value_list  value_n  red  green  blue
  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.
  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?
  Regards
  Simone 
  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 at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090302/2a969a71/attachment.htm 
    
    
More information about the Cartoweb-users
mailing list