# SPADA: Sentinel-2 Land Cover Segmentation with Sparse CORINE Scribbles and LUCAS Point Labels

## Facts

- Provider: LINKS Foundation
- License: CC-BY-4.0 (https://huggingface.co/datasets/links-ads/spada-dataset)
- Size: 158 files
- Format: PNG (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/links-ads/spada-dataset
- Access: public, readable without an account
- Category: Earth Observation & Geospatial
- Source: https://arxiv.org/abs/2306.16252
- Page: https://scigantic.com/archive/23f4aa39-5545-520a-b01a-efd96562133a
- Keywords: Earth Observation & Geospatial, image segmentation, satellite imagery, PNG, Hugging Face

## About

SPADA is the dataset from Land Cover Segmentation with Sparse Annotations from Sentinel-2 Imagery (IGARSS 2023), built to train land cover and fuel-type segmentation models from weak, sparse labels over European areas of interest. Inputs are Sentinel-2 L2A images from 2018 with 12 bands in reflectance x 10,000 (GeoTIFF), obtained from the Microsoft Planetary Computer. Two kinds of label are provided: scribble annotations derived from CORINE Land Cover 2018 polygons after a scribbling process that keeps only sparse strokes inside each class region, and point-wise labels from the 2018 LUCAS in-situ survey rasterised in 5x5 pixel blocks. The training split also provides overlapping 512x512 tiles, while validation and test are cut into non-overlapping 2048x2048 sections. The data are stored as segmented tar.gz parts under data/ that must be concatenated and extracted (about 165 GB); training code is in github.com/links-ads/igarss-spada. Released by LINKS Foundation under CC BY 4.0; cite the IGARSS 2023 SPADA paper.

## Load the data

```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="links-ads/spada-dataset", filename="assets/sample.png", repo_type="dataset")
print(path)
```

## Data structure

File types in sampled files: PNG

Example file: `assets/sample.png`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/23f4aa39-5545-520a-b01a-efd96562133a
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/23f4aa39-5545-520a-b01a-efd96562133a
- Over MCP: `get_schema_card` with id `23f4aa39-5545-520a-b01a-efd96562133a` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
- [Image segmentation datasets](https://scigantic.com/topics/image-segmentation)
- [PNG datasets](https://scigantic.com/topics/png)
