Skip to content
Novus Examples
gpkg36 KB

GeoPackage — Aspatial Attributes Table (no geometry column)

A GeoPackage holding an `attributes` table with no geometry at all — the standard's own answer to a lookup table you want to ship alongside your layers. Its gpkg_contents row has null bounds and a null SRS, which is what readers that assume every row is spatial trip over.

Preview — schema + first 6 rowsgpkg
codeyearpopulationhouseholds
KB201143861827
KB202148202051
MR20111073447
MR20211180502
HW201124291012
HW202126701136
Ten rows total; two census years for each of five towns.

Specifications

Format
OGC GeoPackage 1.3 (SQLite)
Application Id
GPKG (0x47504B47)
User Version
10300
Feature Tables
0
Attribute Tables
1
Rows
10
Data Type
attributes
Geometry Columns
0
Bounding Box
null (aspatial content has no extent)
Last Change
2026-01-01T00:00:00.000Z (fixed for reproducibility)

Testing contract

Expected to pass
Scenario
Open the file with a GIS client and list its contents.
Expected result
The census table is listed as aspatial with 10 rows and no geometry column; the null bounding box and null srs_id do not raise, and the file is not reported as empty.

What is a .gpkg file?

GeoPackage is an OGC standard that stores vector features, raster tiles, and their metadata inside a single SQLite database. Required tables such as gpkg_contents, gpkg_spatial_ref_sys, and gpkg_geometry_columns describe what the file holds, and feature geometries are stored in a standard binary header followed by Well-Known Binary. Being one self-contained file with real SQL indexing, it is the modern replacement for the multi-file shapefile.

How to use this file

Use an example .gpkg file to test GIS readers, SQLite-based spatial tooling, and shapefile-to-GeoPackage converters, checking the required metadata tables, the geometry header's SRS id and envelope flags, and attribute round-tripping.

How to use this file for testing

“GeoPackage — Aspatial Attributes Table (no geometry column)” is a deterministic Novus Examples fixture for Geospatial, Data import, Conversion testing. GeoJSON, GPX, and KML files with points, lines, polygons, and tracks — for testing map tools, route parsers, and geo importers.

Documented properties for this file: 10 rows · OGC GeoPackage 1.3 (SQLite). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Geospatial fixtures publish one invented territory across formats, with the coordinate reference system and feature counts documented in specs. Convert or reproject and diff against the twin in the same group; edge-case geometries state exactly which assumption they are built to break.

Generated by generation/geospatial.py. Free for any use, no attribution required — license.