Point SQLite Baseline¶
vectorSQLitePointEPSG:4326tinybundled
Canonical baseline point stored as SQLite/SpatiaLite for cross-format comparison and format-specific loader behavior testing.
| Property | Value |
|---|---|
| Case ID | point_sqlite_baseline |
| Category | vector |
| Format | SQLite |
| 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_sqlite_baseline")
def test_point_sqlite_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:
What this case checks¶
Provide a canonical point encoded as SQLite 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 |
yes |
expected_epsg |
4326 |
expected_geometry_types |
Point |
Notes¶
Purpose¶
Tests Point geometry loading from SQLite/SpatiaLite format.
Data¶
- Geometry:
POINT (12.5 55.7) - Attributes:
id= 1,name=point_sqlite_baseline - Feature count: 1
Validation¶
- Geometry type:
Point - CRS:
EPSG:4326 - Geometry equals
simple_valid_pointundershapely.normalize, which is howtests/unit/test_cross_format_canonical.pycompares 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 byshapefile_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¶
loadgeometry-validationbounds-check
Files¶
- Primary:
data.sqlite - Notes:
notes.md
Source and license¶
- Source: geocase-curated
- License: MIT
Tags¶
baseline cross_format_canonical format_comparison point spatialite sqlite valid vector
Related cases¶
- LineString SQLite Baseline --
linestring_sqlite_baseline - MultiLineString SQLite Baseline --
multilinestring_sqlite_baseline - MultiPoint SQLite Baseline --
multipoint_sqlite_baseline - MultiPolygon SQLite Baseline --
multipolygon_sqlite_baseline - Point Arrow Baseline --
point_arrow_baseline