QUAC
QUAC (Quite Useful Additions for Catalogs) is a profile of STAC 1.1.0 that adds map layer settings to a catalogue: how each layer is shown, how its fields are filled in and checked, and how its layers relate.
A QUAC Collection is an ordinary STAC Collection with quac: fields added, so an application can read the fields it knows and ignore the rest.
Read and use it
- The repository: the spec, the code and the issue tracker.
- The field reference: every field, with an example.
- The JavaScript package,
@vectoriahq/quac, which writes QUAC catalogues and reads them. - The QGIS Server plugin, QUAC Catalogue, which serves a QGIS project's catalogue.
Try it
A small made-up project of street trees, their species and their inspections, as a QGIS project and the catalogue this package writes for it. The trees layer has a list of species from another layer, a height range with a rule that warns, a condition with its own symbols, and a field shown only for a dead tree.
demo/catalog.json: the catalogue as a STAC client expects it, with one file per Collection linked byrel: "child".demo/catalogue.json: the same catalogue as one document, with its Collections inline, as the package writes it.demo/street-trees.qgs: the QGIS project it comes from, with its data beside it.
The schema
A catalogue says it follows QUAC by listing the schema's address in stac_extensions. Each version keeps its address.