Hi to all,

Im having a problem when using QueryByPoint and QueryByRect on PHP Mapscript
and Mapserver 5.6.6 on this layer, as Red, Green, and Blue attributes are
always 0, even though the image is rendered correctly.

LAYER
        GROUP "grBlueMarble"
        NAME "nmBlueMarble"
        TYPE raster
        DATA "../../../layers/raster/BlueMarble.img"
        STATUS OFF
        OPACITY 100
        PROJECTION
"init=epsg:900913"
        END
        OFFSITE 0 0 0
        CLASS
    TEMPLATE "foo.bar"
            NAME "BlueMarble"
            KEYIMAGE "../../../images/icon_rasterLayer.png"
        END
    END

As the image is correctly rendered I would expect to receive Red, Green, and
Blue attributes the same as Value_0, Value_1 as Value_2 instead of 0.

If I remove the CLASS object the Red, Green, and Blue attributes are correct
but I cannot define a KEYIMAGE tag.


¿Could this be a bug?

Regards,

Ing. Emiliano Castañeda
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to