Skip to content

Nearby Points Cluster

vectorGeoJSONPointEPSG:4326tinybundled

Three nearby WGS84 points that should cluster together under a modest metric distance threshold.

Point geometry of nearby_points_cluster, 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 nearby_points_cluster
Category vector
Format GeoJSON
Geometry type Point
CRS EPSG:4326
Location Copenhagen, Denmark (synthetic) — 12.00°E, 55.00°N → 12.00°E, 55.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("nearby_points_cluster")
def test_nearby_points_cluster(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

Confirm that nearby local points are grouped into a single cluster.

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

Three points close enough to cluster together with a small metric threshold.

Required capabilities

  • load
  • geometry-validation
  • proximity-check

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

baseline clustering point vector