mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
GDALGetCategoryNames TODO note
This commit is contained in:
parent
24bcec43d5
commit
10c62b5611
@ -59,6 +59,11 @@ QList<QgsColorRampShader::ColorRampItem> QgsGdalProviderBase::colorTable( GDALDa
|
||||
if ( myGdalColorTable )
|
||||
{
|
||||
QgsDebugMsg( "Color table found" );
|
||||
|
||||
// TODO: load category labels and use them for ColorRampItem.label once
|
||||
// GDALGetCategoryNames C function is added to GDAL, see #8886
|
||||
//char ** categoryNames = GDALGetCategoryNames( myGdalBand );
|
||||
|
||||
int myEntryCount = GDALGetColorEntryCount( myGdalColorTable );
|
||||
GDALColorInterp myColorInterpretation = GDALGetRasterColorInterpretation( myGdalBand );
|
||||
QgsDebugMsg( "Color Interpretation: " + QString::number(( int )myColorInterpretation ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user