Skip to content
Prev 28561 / 29559 Next

How to identify the different discrete classes from a raster of land cover data (tif).

Hi,

I'm not familiar with the dataset, but I am guessing it is related to how
the labels are encoded. If that is the case, then it is possible the stored
class labels are not literally 1-23 but are 23 labels selected from the
range of 0-255.  You could do a brief check with ...

table(r[])

Cheers,
Ben
On Tue, Mar 2, 2021 at 12:15 PM Manuel Sp?nola <mspinola10 at gmail.com> wrote: