Hi,

The GDAL Color Interpretation enumeration is a good start, but is quite limited regarding band spectral properties with just Red, Green, Bland, and nothing for other band wavelengths, particularly for infra-red.

I was looking a bit at the classifications at https://en.wikipedia.org/wiki/Infrared#Regions , and there are several ones, like the "commonly used subdivision scheme" (NIR, SWIR, MWIR, LWIR, FIR) or "CIE division scheme" (IR-A, IR-B, IR-C) or "ISO 20743 scheme" (NIR, MIR, FIR).

My inclination would rather to re-use the STAC EO classification at https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names, which shows a lot of similarities with https://github.com/awesome-spectral-indices/awesome-spectral-indices#expressions , and has a nice mapping with a few popular instruments.

While we are it, should we standardize central wavelength and full width half max (FWHM), has special properties of a bands rather than generic text-based metadata, like:

double GDALRasterBand::GetCentralWaveLengthMicrometer() -> NaN if unknown
double GDALRasterBand::GetFWHMMicrometer() -> NaN if unknown
void GDALRasterBand::SetCentralWaveLengthMicrometer(double)
void GDALRasterBand::SetFWHMMicrometer(double)

Or maybe just standardize a "CENTRAL_WAVELENGTH" and "FWHM" metadata items in the "IMAGERY" metadata domain: https://gdal.org/en/latest/user/raster_data_model.html#imagery-domain-remote-sensing ?

Thoughts?

Even

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to