Bug report #3702

QGIS and gdalinfo shows different information about raster

Added by dr - over 8 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Low
Assignee:Redmine Admin
Category:Rasters
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:13761

Description

gdalinfo shows the following information about raster:

Band 1 Block=10468x1 Type=Int16, [[ColorInterp]]=Gray

QGIS:

GDT_Int32 - Thirty two bit signed integer 

Why?

Raster used in example: http://gis-lab.info/share/DR/mcd45tiff/MCD45monthly.A2003091.Win08.005.burndate.tif

History

#1 Updated by Redmine Admin over 8 years ago

Yes, I know, we are mapping gdal types to wider types to get space for null values.

#2 Updated by alobo - over 8 years ago

but then is the raster Int16 or Int32 ?

#3 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Paolo Cavallini over 7 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master
  • Target version changed from Version 1.7.4 to Version 1.8.0

#5 Updated by Paolo Cavallini about 7 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#6 Updated by Giovanni Manghi almost 7 years ago

  • Pull Request or Patch supplied set to No
  • Status info deleted (0)
  • Resolution set to fixed
  • Operating System deleted (All)
  • Status changed from Open to Closed

In qgis master the infos are now the same in raster metadata and gdalinfo.

Also available in: Atom PDF