Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

HOT Building Segmentation Dataset

Dataset Description

A semantic segmentation dataset for building footprint extraction from aerial imagery, built from validated Humanitarian OpenStreetMap Team (HOT) Tasking Manager projects that use OpenAerialMap (OAM) imagery.

Dataset Summary

This dataset pairs 256x256 aerial image tiles (zoom level 19) from OpenAerialMap with building footprint labels from OpenStreetMap. All source projects have been fully validated through the HOT Tasking Manager, ensuring high label quality from expert humanitarian mappers.

Target use case: Training and evaluating deep learning models for building detection and segmentation in disaster mapping contexts.

Supported Tasks

  • Semantic Segmentation: Pixel-level building vs. background classification
  • Instance Segmentation: Individual building footprint delineation (using GeoJSON polygon labels)
  • Object Detection: Building bounding box detection (derivable from polygon labels)

Languages

English (metadata and documentation)

Dataset Structure

Data Format

dataset/
  project_{id}/
    metadata.json
    aoi.geojson
    tiles.geojson                  # Tile boundary geometries
    chips/
      OAM-{x}-{y}-{z}.tif         # 256x256 aerial imagery tiles
    masks/
      OAM-{x}-{y}-{z}.tif         # Binary raster masks
    labels/
      OAM-{x}-{y}-{z}.geojson     # Per-tile building footprint polygons
      osm-result.geojson           # Full OSM building data for the area
  parquet/
    data.parquet                   # HuggingFace Parquet with embedded images and masks
  projects_summary.json
  projects_map.geojson
  dataset_stats.json

Data Fields

Image tiles (chips):

  • Format: GeoTIFF (.tif), georeferenced
  • Size: 256x256 pixels
  • Zoom level: 19 (~0.3m/pixel at equator)
  • Source: OpenAerialMap drone/aerial imagery
  • Naming: OAM-{x}-{y}-{z}.tif following standard web map tile coordinates

Labels (GeoJSON):

  • Format: GeoJSON with building footprint polygons
  • Source: OpenStreetMap building data via HOT Raw Data API
  • Coordinate system: EPSG:4326 (WGS84)
  • Each file corresponds to one image tile with matching filename

Metadata:

  • metadata.json: Project-level information (TM project ID, name, imagery URL, country, validation status)
  • aoi.geojson: Project area of interest boundary
  • projects_summary.json: Summary of all included projects
  • projects_map.geojson: Map of all project areas
  • dataset_stats.json: Aggregate dataset statistics

Data Splits

The dataset is split into train, validation, and test sets at the project level to prevent spatial leakage. Projects sharing the same imagery URL (i.e. covering the same physical area) are grouped into clusters and always assigned to the same split together.

Split assignment uses greedy bin-packing (80/10/10 by tile count) over clusters sorted by size descending. The mapping is stored in splits.json for reproducibility.

Split Target %
train 80%
validation 10%
test 10%

Dataset Creation

Source Data

Imagery: OpenAerialMap (OAM), a repository of openly licensed aerial imagery collected by drones, balloons, and satellites. Licensed under CC-BY or similar open licenses.

Labels: OpenStreetMap (OSM) building footprints, contributed by humanitarian mappers through HOT Tasking Manager projects. Licensed under ODbL 1.0.

Project Selection Criteria:

  • Uses OpenAerialMap imagery (custom TMS URL containing openaerialmap.org)
  • Mapping type includes BUILDINGS
  • Validation completion >= 95%
  • Created within the specified time window (default: last 5 years)

Data Collection Process

  1. Project Discovery: Query HOT Tasking Manager API for projects with custom imagery, filter for OAM URLs and building mapping type
  2. Quality Filter: Retain only projects with >= 95% validation completion
  3. Tile Generation: Generate 256x256 tiles at zoom level 19 within each project's area of interest
  4. Imagery Download: Fetch aerial imagery tiles from OpenAerialMap TMS endpoints
  5. Label Download: Fetch building footprints from OpenStreetMap via HOT Raw Data API
  6. Label Splitting: Clip building polygons to individual tile boundaries

Tools used: geoml-toolkits for tile generation, imagery download, and label processing.

Annotations

Labels are crowd-sourced building footprints from OpenStreetMap, created and validated by humanitarian mappers through HOT Tasking Manager campaigns. Each project goes through:

  1. Mapping phase: Volunteers digitize building footprints from aerial imagery
  2. Validation phase: Experienced mappers review and correct the mapped features

Only projects with >= 95% validation are included, ensuring high annotation quality.

Considerations for Using the Data

Social Impact

This dataset supports humanitarian applications including disaster response, risk assessment, and development planning. Building footprint data is critical for estimating population exposure, damage assessment, and resource allocation during natural disasters.

Known Limitations

  • Temporal mismatch: OSM data reflects current building footprints while OAM imagery may be from different dates. Buildings constructed or destroyed between imagery capture and OSM editing may cause label noise.
  • Geographic bias: Project locations are concentrated in disaster-affected and developing regions where HOT operates.
  • Label completeness: While validated, some buildings may be missed or incorrectly mapped in OSM.
  • Imagery quality: OAM imagery varies in resolution, cloud cover, and viewing angle across projects.

Licensing

This dataset uses a dual-license model:

  • Imagery (image tiles): CC-BY 4.0 - sourced from OpenAerialMap. All imagery uploaded to OAM is licensed as CC-BY 4.0, with attribution to "contributors of Open Imagery Network." Original copyright remains with the imagery provider.
  • Labels (building footprints): ODbL 1.0 - sourced from OpenStreetMap. Requires attribution to "OpenStreetMap contributors" and share-alike for derivative databases.
  • Dataset tooling: GPL-3.0-or-later

Additional Information

Dataset Curators

Built using the hot-oam-dataset tool by HOT.

Contact

For questions, feedback, or collaboration inquiries: fair@hotosm.org

Citation

@misc{hot_building_segmentation_2026,
  title={HOT Building Segmentation Dataset},
  author={Humanitarian OpenStreetMap Team},
  year={2026},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/hotosm/vhr-building-segmentation}}
}

Contributions

Powered by data from OpenStreetMap contributors, OpenAerialMap, and the HOT Tasking Manager volunteer community.

Generated Stats

  • Dataset version: 0.2.0
  • Tile pairs (num_examples): 72,363
  • Total projects: 93
  • Tiles with features: 46,469
  • Tiles without features: 25,894
  • Total polygons: 715,775
  • Avg buildings per tile: 9.9
  • Total area: ~782.7 sq km
  • Countries: 21
  • Generated at: 2026-04-05T17:38:27.324614+00:00

Coverage by Country

Country Projects Tiles Buildings Area (sq km)
Myanmar 3 43,879 432,324 400.3
Peru 5 6,778 53,290 133.3
Mozambique 6 4,992 73,379 39.4
Eswatini 2 4,983 9,290 50.3
Mexico 20 2,753 11,269 33.5
Japan 2 1,420 5,549 11.8
Sierra Leone 7 1,306 48,911 19.1
Philippines 11 1,203 6,100 28.2
Tajikistan 2 1,150 4,500 9.7
Kenya 11 1,039 4,030 8.9
Cuba 1 692 10,000 18.8
Liberia 5 537 10,648 6.5
Malawi 2 367 13,579 3.8
Tanzania 4 285 4,489 4.2
Ghana 4 212 24,555 3.2
Colombia 1 193 444 5.5
Iraq 1 188 660 1.3
Uganda 3 173 1,177 2.1
Trinidad and Tobago 1 134 1,077 1.8
Argentina 1 71 391 0.5
Nigeria 1 8 113 0.3

Data Splits

Split Projects Tiles Buildings Countries % of Tiles
train 81 57,890 639,284 20 80.0%
validation 6 7,237 36,480 3 10.0%
test 6 7,236 40,011 6 10.0%

image

Downloads last month
442

Models trained or fine-tuned on hotosm/vhr-building-segmentation