Retrieve layer metadata from the Sequoia configuration
seq_layer.RdResolves a layer key against the config defined in
inst/config/seq_layers.yaml and inst/config/seq_path.yaml and returns
the associated metadata: name, extension, filename, path, fullpath
Value
A named list containing layer metadata, including:
key: the resolved configuration keyname: the layer nameext: the file extensionfamily: the resolved namespace familypath: the base directory for the layerfull_path: the complete filesystem path to the layer
Details
The function resolves the input key using partial matching against
the keys defined in inst/config/seq_layers.yaml.
If exactly one entry matches, it is selected. For example,
key = "znieff1"can be used to match"v.mnhn.znieff1.poly"when this is the only key containing"znieff1".If multiple entries match, the function aborts and displays the ambiguous keys, prompting the user to provide a more specific key.
Note: seq_layers.yaml is part of the package and must not be modified.