I have a land cover data with 4 classes in .img format. Since I cannot upload it to Google Earth Engine assets because of its format, I needed to convert it to TIFF. format. I tried 'export data' in ArcMap 10.6 to do the conversion. However, when I converted to TIFF file, it gives me 255 classes as follows (I could not show all the classes):

enter image description here

How can I make a TIFF file with 4 classes?

  • The tiff only has 4 classes, not 255. Symbolise by unique values instead of colormap or just inspect the statistics and you will see.
    – user2856
    Jun 12 at 13:01
  • Thanks so much. I will try that.
    – Stud17
    Jun 12 at 13:15
  • If you look at the properties of the raster (right click in TOC > properties) look at the Source tab, this will confirm it has a color map as suggested by @user2856. You can use the Delete Colormap tool to remove it.
    – Hornbydd
    Jun 13 at 20:39
  • Sorry for the late reply. Thanks for the help.
    – Stud17
    Jun 22 at 8:21


Your Answer

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

Browse other questions tagged or ask your own question.