Le 21/03/2024 à 01:43, Michael Sumner a écrit :
> And, can index be *value* in any contexts?
If you use a raster with a signed data type, that could be negative
values (assuming I understand your question)
ah I see, arbitrary integer values map to a colour 0:(n-1) colours,
>
>
>
> > And, can index be *value* in any contexts?
>
> If you use a raster with a signed data type, that could be negative
> values (assuming I understand your question)
>
>
ah I see, arbitrary integer values map to a colour 0:(n-1) colours, match
the ordered n values in the raster - that is
Michael,
Le 20/03/2024 à 21:38, Michael Sumner via gdal-dev a écrit :
Is the palette_file .txt format documented?
https://gdal.org/programs/gdalattachpct.html
It's mentioned in a few utilities, and created by tests but I couldn't
find an existing example or a description (I guessed,
Is the palette_file .txt format documented?
https://gdal.org/programs/gdalattachpct.html
It's mentioned in a few utilities, and created by tests but I couldn't find
an existing example or a description (I guessed, incorrectly at first,
leaving out the index column). I take it that it is 0-255