Passage Data

Check a file →

Open a GeoPackage and turn it into Darwin Core

GeoPackage (OGC 12-128) → Darwin Core Archive · KML

What you are seeing — you were told to switch from shapefiles to GeoPackage, and now nothing you have opens a .gpkg either.

The short answer

A GeoPackage is a SQLite database with a few extra tables declaring its contents. They say which tables are map layers, which column holds the geometry, and which coordinate system applies. All of it lives inside the one file, which is the point.

What it buys you over a shapefile is real. Column names are not capped at 10 characters — a shapefile's .dbf truncates them and the original spelling is gone. The coordinate system travels in the file instead of in a .prj sidecar somebody can lose. Text is Unicode by the format's own definition, so there is no character set to guess at.

The rest of the answer — 2 more points

One caveat worth knowing: a GeoPackage exported from a shapefile inherits the shapefile's truncation. The format has no cap, but the names were already cut before the GeoPackage was written, and no reader can undo that. We say when we see names sitting at exactly ten characters, because it usually means exactly this.

We read GeoPackage natively — no conversion step, no GIS. Drop one and you get the same report a shapefile gets: the columns, what their values support, and what we refused to interpret.

Getting it out again

  1. Drop the .gpkg. If it holds several layers we list them and ask which one you meant, rather than picking the first.
  2. For a biodiversity portal, the converter builds a Darwin Core Archive from the layer's table. A Parameter, Value, Units block becomes a MeasurementOrFact extension, a second table keyed on the record id. GBIF's occurrence core has no field for measurements, so putting them there would drop them.
  3. For a spreadsheet, the table comes out with the geometry as a WKT column. The coordinates stay in the file's own system, which is named beside them.
Drop the .gpkg

We read GeoPackage directly — layers, full-length columns, and the coordinate system out of the file's own SRS table. Free during the testing period. No account needed. Without one, what we read trains our reader (names removed); signed in, nothing is kept.

Check the file you have →

Related