Skip to content
Permalink
Browse files
correct source data type in meta (instead of internal daty type used …
…in QGIS)
  • Loading branch information
blazek committed Nov 11, 2011
1 parent be9bdeb commit b07ccb308db0aeaf5005104224af35df6722257a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -1717,7 +1717,7 @@ QString QgsRasterLayer::metadata()
myMetadata += "</p>\n";
myMetadata += "<p>";
//just use the first band
switch ( mDataProvider->dataType( 1 ) )
switch ( mDataProvider->srcDataType( 1 ) )
{
case GDT_Byte:
myMetadata += tr( "GDT_Byte - Eight bit unsigned integer" );

0 comments on commit b07ccb3

Please sign in to comment.