GPKG
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
GeoPackage Preview.
At a glance
| Purpose | An OGC GeoPackage: a SQLite database holding vector features, tiles and their metadata. |
| Extensions | .gpkg |
| Poka parser | poka-gpkg |
| Viewer | poka-vector-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B3 Core (see Breadth tiers) |
How much Poka reads
B3 Core. Only the main content type or types are decoded (for example geometry but not materials, layers or annotations, or only one version family). The list of gaps is substantial.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-gpkg/src/main.rs (1613 lines) and plugin.json. 16 unit tests (GeoPackage binary points, polygons, multipoints and collections, curve refusal, Z and M ranges, schema and tables) and corpus_gpkgs_have_no_integrity_findings over the corpus GeoPackages, which checks integrity, not drawing. Covers .gpkg. The parser reads the SQLite file directly (header, b-trees, records), lists gpkg_contents, geometry columns and spatial reference systems, and draws the features' geometry (points, lines, polygons, multi-geometries and collections) in 2D; Z and M ranges are noted. Judgement: B3: vector geometry is drawn, but attributes, tiles and curves are not.
What Poka does not read
- Feature attributes are not shown
- Tile pyramids (raster tiles) are listed, not drawn
- Curve geometries are refused with a named reason
- Z and M values are noted, not drawn
- Coordinates are drawn as stored, with no reprojection
- Extensions (RTree index, related tables) are listed only
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- OGC GeoPackage encoding standard (candidate; public spec; spec; https://www.geopackage.org/spec/)
- geozero (GeoPackage geometry encoding) (candidate; MIT OR Apache-2.0; Rust; https://github.com/georust/geozero)
- geopackage (candidate; MIT OR Apache-2.0 (crate); Rust; https://github.com/urschrei/geopackage) — built on rusqlite (C libsqlite3)
- geopackage-js (candidate; MIT; TypeScript; https://github.com/ngageoint/geopackage-js)
- GDAL (candidate; MIT (LICENSE.TXT, per-file exceptions); C++; https://github.com/OSGeo/gdal)
Sources
- parsers/poka-gpkg/src/main.rs
- parsers/poka-gpkg/plugin.json