|
Description
DBWriteMetaData() is used to write the string value associated with a particular meta data item name in the indicated layer of the indicated file.
Call Signature
void DBWriteMetaData ( int/string filespec, string layer_type, int layer_index, string item_name, string item_value )
Return Value
void
This has no return value.
Arguments
int/string filespec:
This can either be the handle returned by DBOpen(), or the name of an open file.
string layer_type:
The name of the type of layer. This is either "FIL" for the overall file, "IMG" for an image channel or one of the segment types listed in DBNextSeg().
int layer_index:
The channel, or segment number. Ignored if layer_type is "FIL".
string item_name:
The name of the meta data item being assigned a value.
string item_value:
The value being associated with item_name for this layer.
Remarks
If the layer doesn't exist a fatal error will be generated. Note that there is currently no way to remove a meta data entry, though it can be set to an empty string.
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.