I have a raster file with pixel values between 11010 and 812210 and I would like to change all these values in integers between 0 and 5. The problem here is that there is no pattern that I can use (at least not obvious to me) to reclassify this values with logical expressions and I have more than 2000 combinations. Is there any way to make a reclassification, maybe with a CSV file or something?
This values were gotten with the .expression function in GEE with ESA Land Cover and Potentials Ecosystems Data.
I´m sorry that I can´t give you any sample code but here there is an example of the combinations that I must to get.
Any idea on to solve this problem? Or even a confirmation that I should write more than 2000 lines of code with .map function jeje.