Datasets:

Modalities:
Geospatial
ArXiv:
License:
Dataset Viewer
Duplicate

The dataset viewer should be available soon. Please retry later.

Image and Signal Processing Group, Universitat de València · ELLIOT

SpaceNet 2 Building Detection v2

This is a repackaging, not a new dataset. It is SpaceNet 2 Building Detection v2 by SpaceNet LLC / CosmiQ Works, Maxar (WorldView-3), converted to TACO. Pixel values and labels are kept as released except where the description below says otherwise. All credit belongs to the original authors: if you use it, please cite them and follow their licence.

original dataset · paper · licence: CC-BY-SA-4.0

Repackaged into TACO by the Image and Signal Processing Group (ISP), Universitat de València, within the ELLIOT project.

Citation

Please cite the original work:

@article{vanetten2018spacenet,
  title   = {SpaceNet: A Remote Sensing Dataset and Challenge Series},
  author  = {Van Etten, Adam and Lindenbaum, Dave and Bacastow, Todd M.},
  journal = {arXiv:1807.01232},
  year    = {2018}
}

About the data

10593 WorldView-3 tiles over Vegas, Paris, Shanghai, Khartoum. Each carries an 8-band 2 m multispectral cube, a 0.5 m panchromatic band, a building footprint mask rasterised on the 0.5 m grid, and the footprint polygons themselves.

10,593 samples · splits: test 2,183 · train 6,309 · validation 2,101 · tasks: semantic-segmentation, instance-segmentation

Packaged as TACO v3.

Full description

Products. The pan-sharpened products the release also ships are not carried: they are derivations of these two rasters and 88% of the bytes.

Splits. The challenge's test tiles ship without labels, so the split here is not the publisher's: it is geographic within each city. See split_source.

Held-out half

spacenet2_test holds the 3,526 samples whose targets the publisher withheld. Same inputs, no target slots: it is there to be predicted on and submitted, and it belongs in no training mixture.

import os
from huggingface_hub import snapshot_download
from taco.ml import Dataset

root = snapshot_download("isp-uv-es/spacenet2-taco", repo_type="dataset",
                         allow_patterns=["spacenet2_test", "spacenet2_test/*", "spacenet2_test/.tacocat/*"])
ds = Dataset(os.path.join(root, "spacenet2_test"))

Getting started

git clone --recursive https://github.com/OscarPellicer/taco
pip install -e "taco/python[ml]"     # builds the reader: C++23, CMake, Ninja, pkg-config, libcurl >= 7.83, OpenSSL >= 3

Read it straight from the Hub:

from huggingface_hub import snapshot_download
from taco.ml import Dataset, plot_sample

path = snapshot_download("isp-uv-es/spacenet2-taco", repo_type="dataset", ignore_patterns=["spacenet2_test", "spacenet2_test/*"])
ds = Dataset(path)                  # the repository is the container: parts + .tacocat
plot_sample(ds[0])

or from a local copy:

ds = Dataset("spacenet2")
sample = ds[0]                      # {slot name: SlotValue}, arrays decoded
sample["pan"].array.shape

Metadata without decoding anything:

import taco
taco.read("spacenet2/.tacocat")              # one Arrow table, levels joined

Samples

sample sample sample sample sample

What a sample contains

role slot holds modality detail
input pan raster optical 1 band(s), digital_number
input ms raster multispectral 8 band(s), digital_number
target buildings mask label_raster 2 classes
target footprints polygon unit degree

Licence

CC-BY-SA-4.0

Terms of use:

  • Adapted material must be shared under CC-BY-SA-4.0.

Required credits:

  • The SpaceNet Dataset by SpaceNet Partners is licensed under CC-BY-SA-4.0
  • Imagery: Maxar WorldView-3

Providers: SpaceNet LLC / CosmiQ Works, Maxar (WorldView-3)

Acknowledgements

TACO was designed by César Aybar and is specified at https://asterisk.coop/taco/spec/.

Built by Oscar Pellicer within the ELLIOT project at the Image and Signal Processing Group (ISP), Universitat de València.

Downloads last month
69

Paper for isp-uv-es/spacenet2-taco