Bug report #3702

QGIS and gdalinfo shows different information about raster

Added by dr - over 12 years ago. Updated almost 11 years ago.

Assignee:Redmine Admin
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


gdalinfo shows the following information about raster:

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


GDT_Int32 - Thirty two bit signed integer 


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


#1 Updated by Redmine Admin over 12 years ago

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

#2 Updated by alobo - over 12 years ago

but then is the raster Int16 or Int32 ?

#3 Updated by Giovanni Manghi almost 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Paolo Cavallini over 11 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 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#6 Updated by Giovanni Manghi almost 11 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