Perhaps this is a documentation issue, but I ran into:

double BTRasterBand::GetNoDataValue( int* pbSuccess /*= NULL */ )
{
    if(pbSuccess != NULL)
        *pbSuccess = TRUE;

    return -32768;
}

CPLErr BTRasterBand::SetNoDataValue( double )

{
    return CE_None;
}

It seems as if you can't set or fetch a nodata value, an error should be
returned.  In this case, the code indicates no error.  How is one supposed
to know (other than reading the code) that you can't set a value if success
is returned if this operation isn't supported?

Thanks,

-- 
Andrew Bell
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to