Disjoint Polygons¶
vectorGeoJSONPolygonEPSG:4326tinybundled
Two separated polygon features in the same vector dataset. Useful for dissolve and intersection tests that should preserve non-overlapping parts.
| Property | Value |
|---|---|
| Case ID | disjoint_polygons |
| Category | vector |
| Format | GeoJSON |
| Geometry type | Polygon |
| CRS | EPSG:4326 |
| Location | Near the origin (synthetic, no real-world location) — 20.00°E, 0.00°N → 24.00°E, 1.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("disjoint_polygons")
def test_disjoint_polygons(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 disjoint features remain separate and do not intersect.
Risk types covered¶
geometry/false_positive_intersectiongeometry/overaggressive_dissolve
Expected behavior¶
| Assertion | Expected |
|---|---|
expect_loadable |
yes |
expect_valid_geometry |
yes |
expect_crs |
yes |
expected_epsg |
4326 |
expected_geometry_types |
Polygon |
Notes¶
Two separated polygons for dissolve and intersection tests that should remain non-overlapping.
Required capabilities¶
loadgeometry-validationtopology-check
Files¶
- Primary:
geometry.geojson - Notes:
notes.md
Source and license¶
- Source: geocase-curated
- License: MIT
Tags¶
multipart polygon topology vector
Related cases¶
- Ambiguous Engine-dependent Polygon --
ambiguous_engine_dependent_polygon - Self-Intersecting Polygon --
self_intersecting_polygon - Unclosed Ring Polygon --
unclosed_ring_polygon - Classic Antimeridian Polygon --
classic_antimeridian_polygon - CRS Mismatch Overlay Pair --
crs_mismatch_overlay_pair