Rasterize Match WGS84 Polygon¶
vectorGeoJSONPolygonEPSG:4326tinybundled
A WGS84 polygon that must be reprojected to EPSG:32633 to align with its raster. Exercises the CRS mismatch that makes rasterization silently misalign.
| Property | Value |
|---|---|
| Case ID | rasterize_match_wgs84_polygon |
| Category | vector |
| Format | GeoJSON |
| Geometry type | Polygon |
| CRS | EPSG:4326 |
| Location | Central Europe (synthetic, UTM 33N) — 14.90°E, 50.58°N → 15.10°E, 50.70°N |
| Test tier | unit |
| Size class | tiny |
| Storage class | bundled |
| Redistributable | yes |
| Loader | geopandas |
| Status | validated |
Use this case¶
import pytest
@pytest.mark.geocase_case("rasterize_match_wgs84_polygon")
def test_rasterize_match_wgs84_polygon(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:
What this case checks¶
Confirm that vector geometries in WGS84 can be reprojected to the raster grid CRS and successfully rasterized.
Risk types covered¶
Expected behavior¶
| Assertion | Expected |
|---|---|
expect_loadable |
yes |
expect_valid_geometry |
yes |
expect_crs |
yes |
expected_epsg |
4326 |
expected_geometry_types |
Polygon |
Notes¶
A WGS84 polygon that overlaps the bundled geotiff_utm_boundary raster after reprojection to EPSG:32633.
Required capabilities¶
loadreprojectionrasterization
Files¶
- Primary:
geometry.geojson - Notes:
notes.md
Source and license¶
- Source: geocase-curated
- License: MIT
Tags¶
crs polygon rasterization reprojection vector
Related cases¶
- Rasterize Match UTM33 Polygon --
rasterize_match_utm33_polygon - CRS Mismatch Overlay Pair --
crs_mismatch_overlay_pair - Dateline crossing polygon --
dateline_crossing_polygon - Web Mercator Baseline Point --
web_mercator_baseline - CRS Family Pair -- Geographic (WGS 84) --
crs_family_pair_geographic