Developer Interface

Metadata

class koordinates.metadata.MetadataManager(client, parent)

Bases: koordinates.base.InnerManager

Accessor for querying and updating metadata.

Access via the metadata property of koordinates.layers.Layer or koordinates.sets.Set instances.

set(parent_url, fp)

If the parent object already has XML metadata, it will be overwritten.

Accepts XML metadata in any of the three supported formats. The format will be detected from the XML content.

The Metadata object becomes invalid after setting

Parameters:fp (file) – A reference to an open file-like object which the content will be read from.