<div>Hi to all,</div><div><br></div><div>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.</div>
<div><br></div><div>LAYER</div><div>        GROUP &quot;grBlueMarble&quot;</div><div>        NAME &quot;nmBlueMarble&quot;</div><div>        TYPE raster</div><div>        DATA &quot;../../../layers/raster/BlueMarble.img&quot;        </div>
<div>        STATUS OFF</div><div>        OPACITY 100</div><div>        PROJECTION</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>&quot;init=epsg:900913&quot;</div><div>        END</div><div>        OFFSITE 0 0 0</div>
<div>        CLASS</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>    TEMPLATE &quot;foo.bar&quot;</div><div>            NAME &quot;BlueMarble&quot;</div><div>            KEYIMAGE &quot;../../../images/icon_rasterLayer.png&quot;</div>
<div>        END</div><div>    END</div><div><br></div><div>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.</div><div><br>
</div><div>If I remove the CLASS object the Red, Green, and Blue attributes are correct but I cannot define a KEYIMAGE tag.</div><div><br></div><div><br></div><div>¿Could this be a bug?</div><div><br></div>Regards,<br><br>
<div>Ing. Emiliano Castañeda<br><br>
</div>