Skip to content

Wrapped Longitude Point

vectorGeoJSONPointEPSG:4326tinybundled

A point stored at longitude 190° instead of the normalized -170°. Exercises longitude normalization that passes validation and misplaces the point.

Point geometry of wrapped_longitude_point, rendered from the case's data
Point geometry, rendered from the case's actual geometry. Scale is normalized to the viewport and is not comparable between cases.
Property Value
Case ID wrapped_longitude_point
Category vector
Format GeoJSON
Geometry type Point
CRS EPSG:4326
Location North Pacific, near the antimeridian — 170.00°W, 45.00°N → 170.00°W, 45.00°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("wrapped_longitude_point")
def test_wrapped_longitude_point(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

Expose helpers that preserve wrapped geographic longitudes instead of normalizing them back into the usual [-180, 180] interval.

Risk types covered

Expected behavior

Assertion Expected
expect_loadable yes
expect_valid_geometry yes
expect_crs yes
expected_epsg 4326
expected_geometry_types Point

Notes

This fixture stores a valid EPSG:4326 point using a wrapped longitude of 190°. It is useful for helpers that should normalize geographic longitude values back into the conventional [-180, 180] range.

Required capabilities

  • load
  • geometry-validation
  • coordinate-normalization

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

dateline longitude_wrapping point reprojection vector