Skip to main content

I have simple script with adding color palette to raster ASC after cell value replacer .

In ouput GeoTIFF i received too many palette colors represented with black color. |

obraz_2022-12-15_094950356In attachment i send script.

 

It's possible to have only 3 selected colors without black numbers?

So to do this you need to coerce the output raster to UInt8 and then set the number of "Bits per cell" to 2 (in the advanced FeatureType parameters). This will give you a maximum of four values. (0-4)


Great, it works correctly,

thank you so much


Reply