[mapserver-users] HELP query data raster

pablo zader pzader at gmail.com
Wed Apr 23 15:15:52 PDT 2008


Hello friends,
I am working with MApServer 5, want to do query on layers raster and have
the following problem: on a layers raster once chosen the tool of query
gives the following thing to the clickear:

" MsQueryByPoint (): Search returned not results. Not matching record (s)
found. "

The layer raster of my map file defini like that:

LAYER
NAME "arboles"
TYPE raster
DATA "cobertura/GLC_5Final.tif"
STATUS ON
CLASS
EXPRESSION ([pixel] = 1)
STYLE
COLOR 0 255 0

END
TEMPLATE "template/raster.html"
END

CLASS
EXPRESSION ([pixel] = 1)
STYLE
COLOR 255 226 187
END
#TEMPLATE "template/raster.html"
END
HEADER "template/raster_header.html"
FOOTER "template/raster_footer.html"

The file raster.html (that is the principal one in the consultation) defini
like that:

<html>
<body>

Pixel:<br>
values=[value_list]<br>
value_0=[value_0]<br>
value_1=[value_1]<br>
value_2=[value_2]<br>
RGB = [RED],[GREEN],[BLUE]<p>
Class = [class]<br>

</body>
</html>
I wait for his  help .. from already thank you very much to this forum that
really contributes things very interesting and good  solutions
Regards

Pablo.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080423/9b54c3d9/attachment.htm>


More information about the MapServer-users mailing list