Select to view content in your preferred language

Change tiff value

1258
2
Jump to solution
01-26-2023 05:02 AM
Labels (2)
010_Apiis_HafidzAbdillahnull
Emerging Contributor

Hi all, I have a tiff file which of course has the values for all of its pixels in a colormap format. I want to change the values but can't access the attribute table. When I use the raster calculator, the output of it is a different colormap format. Are there any other tools or it's just my expression wrong?

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

It reclasses 11 to 52, so what you did was correct... but I suspect that is not what you wanted to do.. perhaps you meant Con( your tiff >= 11, 52, other tiff value


... sort of retired...

View solution in original post

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

It reclasses 11 to 52, so what you did was correct... but I suspect that is not what you wanted to do.. perhaps you meant Con( your tiff >= 11, 52, other tiff value


... sort of retired...
0 Kudos
010_Apiis_HafidzAbdillahnull
Emerging Contributor

Ohh I know what you mean. But actually, I want to change all of the values, not just 11 (1, 2, 4, etc) to another value all at once. and I want to keep the colormap format meanwhile in the output the format is different, it's not colormap. Perhaps you get my problem hehe. Thanks for your reply btw, Dan!!

0 Kudos