Special Metadata

This describes the contents of the DynamicObject returned by RasterElement::getMetadata() that are treated special by the Opticks Core.

Currently none of the metadata listed below is required to be present for Opticks to work properly.

The list below describes the hierarchy of the metadata that will be treated special by Opticks if present:

To get and set the attributes of the metadata, you should be able to use code like the following:

 RasterElement* pElement;
 string pCenterWavelengthPath[] = { SPECIAL_METADATA_NAME, BAND_METADATA_NAME, 
    CENTER_WAVELENGTHS_METADATA_NAME, END_METADATA_NAME };
 vector<double> wavelengths = dv_cast<vector<double> >(
    pElement->getMetadata()->getAttributeByPath(pCenterWavelengthPath);
 pElement->getMetadata()->setAttributeByPath(pCenterWavelengthPath, wavelengths);

Software Development Kit - Opticks 4.9.0 Build 16218