﻿# LandCover.ai: keep the road-label release and orthophoto tiling contract together

Prepare LandCover.ai segmentation data with the intended annotation version, georeferenced image-mask alignment and published tile membership before GPU training.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-landcover-ai-version-tile-mask-contract/
Language: en

## Identify the annotation release

LandCover.ai provides aerial imagery for mapping buildings, woodland, water and roads. The [publisher's website](https://landcover.ai.linuxpolska.com/) distinguishes an earlier release from an updated release that adds roads and refines annotations. Treat those changes as part of the target definition. A model trained on an earlier archive does not merely see fewer examples of an unchanged task; its available label set and some reference boundaries can differ.

## Preserve image and mask alignment

The dataset distributes georeferenced raster images and masks. Match each image to its intended mask before extracting training crops, and retain the spatial reference when geographic output matters. Equal array dimensions alone do not prove correct alignment. Inspect recognizable boundaries on a sample overlay after decoding, cropping and augmentation. Image interpolation and categorical-mask transformation require different treatment because a class identifier is not a continuous reflectance measurement.

## Keep the published tile population reproducible

The website provides a splitting script and lists for training, validation and testing pieces. Record the selected archive, splitting procedure and resulting tile names. Creating a fresh random division of overlapping crops changes the evaluation population and can introduce near-duplicate geographic context across subsets. If a custom holdout is needed, describe it as a new protocol rather than assuming that the shared dataset name makes its score directly interchangeable with the published setup.

## Inspect the software adapter separately

The [TorchGeo implementation](https://github.com/torchgeo/torchgeo/blob/main/torchgeo/datasets/landcoverai.py) is an inspectable loading path with its own dataset handling. Pin the library version and confirm the delivered image channels, target values and split behavior. A successful loader initialization establishes file compatibility, not agreement with every assumption in an older training script. Test the class mapping end to end by comparing a decoded mask, a model target and the final rendered prediction legend.

## Scope the resulting land-cover claim

The [dataset paper](https://arxiv.org/abs/2005.02264) provides the original task context. The imagery represents a particular geographic collection, so generalization to unfamiliar aerial sources requires additional evaluation. Check the publisher's usage conditions independently of technical accessibility. Related guidance on [image-coordinate transformations](/journal/data-guide-image-exif-box-coordinate/) and [group-aware evaluation](/journal/data-guide-entity-group-split-design/) helps explain the conversion risks, while the chosen LandCover.ai release and its tile lists define the concrete segmentation comparison.
