Skip to content

Classic Antimeridian Polygon

vectorGeoJSONPolygonEPSG:4326tinybundled

A polygon encoded with longitudes that jump from +179 to -179 degrees, representing the classic wrapped-antimeridian case.

Polygon geometry of classic_antimeridian_polygon, rendered from the case's data
Polygon geometry, rendered from the case's actual geometry. Scale is normalized to the viewport and is not comparable between cases.
Property Value
Case ID classic_antimeridian_polygon
Category vector
Format GeoJSON
Geometry type Polygon
CRS EPSG:4326
Location Antimeridian, North Pacific — 179.00°E, 0.00°N → 179.00°W, 1.00°N (crosses the antimeridian — the box runs east from the first corner, over 180°)
Test tier unit
Size class tiny
Storage class bundled
Redistributable yes
Loader geopandas
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("classic_antimeridian_polygon")
def test_classic_antimeridian_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:

pip install "geocase[all]"

View GeoCase on PyPI.

What this case checks

Provide a canonical antimeridian polygon that heuristic crossing checks are expected to detect.

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 canonical polygon whose coordinates wrap from +179 to -179 degrees.

Required capabilities

  • load
  • bounds-check
  • geometry-validation

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

antimeridian dateline polygon vector