Differences between saved .tif and .kmz -files
I was about to write a unit test for the save functions and therefore I compared a step_*.tif- and a step_*.kml-file.
I was aware, that due to transforming between crs there is a slighty shift of the pixels.
But did you know that:
- some pixel change class?
As you can see in the circled area the shape of the pixelcluster is different, which means some pixel changed their class (respective attribute value)
- The pixel values are saved in reverse order in the .kml file?
In the big circle on the right you can see that class "0" in the step_01_decidiuous.tif is class "10" in the step_01.kml and that's the case for all the classes. Moreover the step_01.kml file has one more class (blue circle on the left) for "NA" which gets the value "0".