Skip to content
Permalink
Browse files

GDAL provider identify no data fix

  • Loading branch information
blazek committed Apr 16, 2013
1 parent e0a70f4 commit d6e59605a196577aacc1f1414e408248f3506006
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/providers/gdal/qgsgdalprovider.cpp
@@ -986,7 +986,10 @@ QgsRasterIdentifyResult QgsGdalProvider::identify( const QgsPoint & thePoint, Id
{
results.insert( i, QVariant() ); // null QVariant represents no data
}
results.insert( i, value );
else
{
results.insert( i, value );
}
}
return QgsRasterIdentifyResult( QgsRasterDataProvider::IdentifyFormatValue, results );
}

0 comments on commit d6e5960

Please sign in to comment.
You can’t perform that action at this time.