[gdal-dev] palette file format doc ?

Michael Sumner mdsumner at gmail.com
Wed Mar 20 17:43:16 PDT 2024


>
>
>
> > 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 "value" in the way I was
thinking  ( I had in mind more general cases like interval ranges, but
that's  another level up)

I might be entirely messing up the concept ... will check my take by
experiment.

Cheers, Mike


-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: mdsumner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240321/b2b9234d/attachment.htm>


More information about the gdal-dev mailing list