Sets additional key value metadata for arrays and array attributes
AFL% eo_setmd(array, [attribute], keys, values);
Argument | Description |
---|---|
array |
Existing array |
attribute |
Optional attribute name of provided array as string |
keys |
Comma-separated list of metadata keys |
values |
Comma-separated list of metadata values |
This is a data definition operator and won’t return any results.
This operator can be used to set additional key value array and attribute metadata depending on whether three or four arguments are given. Length of keys
and values
arguments must match which sometimes leads to problems if data have metadata strings with commas.
eo_setmd(world,‘AREA_OR_POINT’,‘AREA’); eo_setmd(world,‘val’,‘NODATA,SCALE’, ‘-1,10000’); eo_getmd(world); remove(world); ```
See the GDAL metadata model for additional information.