Skip to content

Point WKT Baseline

vectorWKTPointEPSG:4326tinybundled

Canonical baseline point stored as plain WKT file for cross-format comparison and format-specific loader behavior testing.

Point geometry of point_wkt_baseline, 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 point_wkt_baseline
Category vector
Format WKT
Geometry type Point
CRS EPSG:4326
Location Wellington, New Zealand (synthetic) — 174.78°E, 41.29°S → 174.78°E, 41.29°S
Test tier unit
Size class tiny
Storage class bundled
Redistributable yes
Loader geopandas
Status validated

Use this case

import pytest


@pytest.mark.geocase_case("point_wkt_baseline")
def test_point_wkt_baseline(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 point encoded as WKT so format-specific loader behavior can be compared directly against the GeoJSON baseline.

Expected behavior

Assertion Expected
expect_loadable yes
expect_valid_geometry yes
expect_crs no
expected_geometry_types Point
required_drivers none — no OGR driver opens this format (use shapely)

Notes

Purpose

Tests Point geometry loading from plain WKT file.

Data

  • Geometry: POINT (12.5 55.7)
  • Attributes: none. The format has no attribute slot; VectorCase.load() synthesizes a single name = point_wkt_baseline row.
  • Feature count: 1

Validation

  • Geometry type: Point
  • CRS: EPSG:4326, supplied by case.yaml — the format stores none
  • Geometry equals simple_valid_point under shapely.normalize, which is how tests/unit/test_cross_format_canonical.py compares them. The comparison is winding-insensitive by necessity: the Shapefile specification mandates the opposite ring orientation from RFC 7946, and OGR rewrites winding on write. Orientation itself is asserted by shapefile_ring_orientation.

Generation

Generated by scripts/generate_vector_fixtures.py — do not hand-edit. The geometry is derived from params.canonical_source_case_id (simple_valid_point), and generate_vector_fixtures.py --check fails on any drift.

Required capabilities

  • load
  • geometry-validation

Files

Browse this case on GitHub

Source and license

  • Source: geocase-curated
  • License: MIT

Tags

baseline cross_format_canonical format_comparison point valid vector wkt