Portable geospatial data
Open the table you need, keep its metadata.
A GeoPackage can contain several feature tables and the metadata that describes their geometry columns and coordinate systems. The loader turns a selected table into a shared application shape.
Container
A single SQLite file with OGC metadata tables.
Discovery
Inspect tables, geometry columns, bounds, and CRS metadata.
Output
GeoJSON tables, WKB-backed geometry, or Arrow tables.
Source path
Read selected table data without treating the whole file as one row set.
Detailed guide
GeoPackage format and API details
The reference below describes the SQLite container, OGC metadata, supported geometry encodings, and the loader/source boundaries.
| Characteristic | Value |
|---|---|
| File Format | GeoPackage |
| Data Format | Geometry Tables, Arrow tables |
| File Extension | .gpkg |
| MIME Type | application/geopackage+sqlite3 |
| File Type | Binary SQLite database |
| Loader APIs | load, parse |
| Loader Worker Thread | ❌ No |
| Loader Streaming | ❌ No |
| Source APIs | createDataSource, getMetadata, getTable |
Loaders and Sources
SQLite Container
GeoPackage stores geospatial data in a SQLite database with OGC-defined metadata tables. loaders.gl reads vector feature tables and converts geometries into GeoJSON or WKB-backed Arrow output.
Arrow
Set geopackage.shape: 'arrow' and specify geopackage.table to load one vector table as an Arrow table with a WKB geometry column.