This function allows you to insert or override key metadata of a raster.
Key metadata is extracted from the raster's metadata and is generally associated with the following:
- A raster product
- A mosaic dataset created using a product description
- Each raster within a mosaic dataset, added using specific raster types
When modifying or inserting key metadata values, you can use one of two methods:
- Enter the Property Name along with the associated Property Value.
- Enter a JSON string containing all of the new property names and values as the Metadata JSON parameter.
The raster or mosaic dataset containing key metadata that you would like to insert or overwrite.
The name of the dataset-level key property to override.
The overriding value of the dataset-level key property that you want to set.
This is used to override the band names of a raster. It is a comma-separated string representing updated band names.
This parameter is optional.
Key metadata to be injected into the outgoing raster described as a JSON string representing a collection of key-value pairs. The following is an example of a JSON string that can be used as an input to this function. All inputs for this parameter should follow the same format.
JSON string representing key metadata