STAC Specs¶
This page explains the STAC-facing metadata layer around CoRE Stack outputs, especially for people who want to download ready files with metadata and styling, or load them quickly into QGIS.
CoRE-Stack STAC Browser¶
- STAC Browser: https://stac.core-stack.org/
- Root catalog JSON: Catalogue
The root catalog currently exposes two major branches:
The tehsil-wise catalog currently includes state collections such as bihar, jharkhand, odisha, uttar_pradesh, karnataka, rajasthan, maharashtra, gujarat, andhra_pradesh, assam, chhattisgarh, delhi, goa, haryana, himachal_pradesh, madhya_pradesh, meghalaya, west_bengal, nagaland, tamil_nadu, telangana, and kerala.
The pan-India catalog currently includes collections such as drainage layers, terrain, hydrological boundaries, administrative boundaries, land use land cover, groundwater layers, waterbodies layers, and restoration-oriented datasets.
What A STAC Item Gives You¶
In practice, a CoRE Stack STAC item can give you everything need for your further workflow:
- the data file itself, usually GeoTIFF for rasters or GeoJSON/WFS-backed GeoJSON for vectors
- a QGIS style file such as
.qml - a thumbnail preview
- geometry, bbox, and time coverage
- field-level metadata through
table:columnson vector items - provider, license, and descriptive metadata
For example, current bihar_nalanda_hilsa_cropping_intensity_vector item includes:
- a json
dataasset (shape file) pointing to a GeoServer WFS GeoJSON endpoint - a
styleasset pointing to a QGIS style file in[core-stack-org/QGIS-Styles](https://github.com/core-stack-org/QGIS-Styles)repository. - a
thumbnailasset table:columnsmetadata describing many output fields
QGIS Workflow¶
Tested on Linux with QGIS 3.4+.
Quick setup¶
- Open the STAC browser panel in QGIS
- Add a new connection using the root catalog URL
- Browse to the state, district, and tehsil or to a pan-India collection
- Download the assets you need
- Drag the downloaded
tifforgeojsoninto the layers panel - Apply the downloaded
.qmlstyle file for labels and better visualization
Typical assets to download¶
datastylethumbnail
How STAC Relates To The Public APIs¶
Use STAC when you want:
- downloadable files
- styles for QGIS
- collection and item metadata
- schema and field descriptions
- browseable asset catalogs by geography or theme
Use Public APIs when you want:
- precomputed data of some tehsils (
active locations)
These are complementary:
- STAC gives you asset-centric metadata and downloads
- public APIs give you task-centric and app-centric payloads
Both connect back to the same computation and publication pipeline.
For People Adding Or Improving Metadata¶
The backend spec source to keep in mind is:
core-stack-backend/computing/STAC_specs
When adding or improving metadata, make sure the resulting items explain:
- what the dataset is
- which geography and time window it covers
- which asset is the primary data asset
- whether a style file exists