I received a raster dataset from a colleague consisting of integer values between 1 to 4. The raster displays the correct range of values, but the attribute value contains only a count for values of '0', and no information about the other values that I know are also present based on the display.

This is a problem because I need to perform a series of manipulations and analysis on this data, but these have proved impossible because of this disconnect between how the data is displayed and how it is recorded in the table.

The following images hopefully show clearly the issue I am encountering. The display issues are not my main problem, but seem to symptoms of something happening with this file that I do not understand.

Symbology: enter image description here

Attribute table: enter image description here

Display at large spatial scale: enter image description here

Display after zooming in: enter image description here

  • Even though this is a 32-bit signed integer raster, all my attempts to build the raster attribute table failed. I found a work-around by exporting the raster as a .tif and running "Build Raster Attribute Table" on the new version. Still curious to know what is happening in my initial case though. – K. Credo Nov 16 '16 at 21:05
  • How was this raster dataset sent to you? There might be some missing files. – Paul Nov 16 '16 at 23:24
  • 1
    I would recommend removing the pyramid and rebuilding it. – Vince Nov 16 '16 at 23:51

If the attribute's value is floating points then it will not show up in the Attribute table, only integer values are shown. The raster can be converted to int but will result in data loss. In your case there would only be 4 values (1-4).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.