[gdal-dev] Comprehensive list of values for ColorInterp

Javier Jimenez Shaw j1 at jimenezshaw.com
Wed Mar 31 15:07:42 PDT 2021


You have a list here:
https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c

The conversion from the enum to string here:
https://github.com/OSGeo/gdal/blob/master/gdal/gcore/gdal_misc.cpp#L904

Cheers
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Wed, 31 Mar 2021 at 23:56, <Matt.Wilkie at yukon.ca> wrote:

> What are the useful and/or valid values for the `ColorInterp` setting of a
> raster band?
>
> I have seen: Red, Green, Blue, Gray, Undefined.
>
> Is this a complete list or can there be values like “Mask”, “Infrared”,
> or…?
>
>
>
>
>
>
>
> *Matt Wilkie*
>
> Geomatics Analyst
>
> Environment | Technology, Innovation and Mapping
>
> T 867-667-8133 | *Yukon.ca <http://yukon.ca/>*
>
> *Hours: 08:30-16:30, Tue-Wed: Office, Thu-Fri: Remote.*
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210401/8671204e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7416 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210401/8671204e/attachment-0001.png>


More information about the gdal-dev mailing list