The function uses a predefined lookup table for data retrieval and a metadata json document to describe the whole collection.
1 | importCollection(path, fun = brick)
|
The files are named lookup.csv and md.json. The first has the columns "file_access", "timestamp", "band_index" and "filename". With file_access we state the link to the accessed file how the data will be loaded and accessed, e.g. a VRT. "filename" links to the actual file, which should be a single band. This will be used to extract relevant metadata for each individual band (like the actual spatial resolution), which might not be correctly obtainable from a VRT.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.