Hi list,

I've been trying to debug my problem which I originally posted on
mapserver-users here:

http://lists.osgeo.org/pipermail/mapserver-users/2009-November/063706.html

I've debugged the problem to the following part of
frmts/sde/sderasterband.cpp:

    if (bits_per_pixel >= 8) {
        memcpy(pImage, pixels, block_size);
        GByte *p = reinterpret_cast<GByte*>(pImage);
    } else {

The values in the pixels variable are still okay, and contain mostly
negative values as well as 0 (for example -42).

The p variable only contains positive values and 0 values.

Hopefully this will help somebody to pinpoint the problem, as I am not
familiar enough with C++ to solve this.

TIA.

Best regards,
Bart


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to