Skip to content

GeoTIFF UTM Boundary

rasterGeoTIFFEPSG:32633smallbundled

A GeoTIFF straddling a UTM zone boundary. Mosaicking or reprojecting across the seam produces pixel shifts and CRS mismatches between adjacent tiles.

Pixels of geotiff_utm_boundary, a 20x20 raster, with NoData in magenta
20x20 px. Rendered from the case's actual pixels, contrast-stretched for display; NoData is shown in magenta.
Property Value
Case ID geotiff_utm_boundary
Category raster
Format GeoTIFF
CRS EPSG:32633
Location Central Europe (synthetic, UTM 33N) — 14.86°E, 50.55°N → 15.14°E, 50.73°N
Test tier unit
Size class small
Storage class bundled
Redistributable yes
Loader rasterio
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("geotiff_utm_boundary")
def test_geotiff_utm_boundary(geocase_case) -> None:
    data = geocase_case.load()
    assert data is not None

Use GeoCase in your tests

Install the complete set of vector, raster, and NetCDF dependencies:

pip install "geocase[all]"

View GeoCase on PyPI.

What this case checks

Detect raster code that assumes the entire tile lives in a single UTM zone, causing distortion or misalignment at zone edges.

Risk types covered

Expected behavior

Assertion Expected
expect_loadable yes
expect_crs yes
expected_epsg 32633
expected_shape [20, 20]

Known answer

Computed from the actual bytes and gated against them. Grade your own output against these.

Quantity Value
NoData pixels 0
Bounds (case CRS) [490000.0, 5600000.0, 510000.0, 5620000.0]

Notes

Purpose

Raster near a UTM zone boundary used to expose reprojection and alignment issues in zone-edge workflows.

What to expect

  • CRS is EPSG:32633.
  • Single band raster.
  • No explicit NoData requirement in metadata hints.

Typical checks

  • assert_band_count(src, 1)
  • assert_has_crs(src)
  • assert_epsg(src, 32633)
  • Reproject and verify bounds/pixel alignment remain coherent.

Common failure modes

  • Pixel shifts near zone boundaries.
  • Mosaicking artifacts caused by wrong zone assumptions.

Required capabilities

  • load
  • reprojection
  • bounds-check

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

boundary crs geotiff raster reprojection utm