Skip to main content

Geospatial container

A portable SQLite file for geospatial tables.

GeoPackage combines OGC-defined metadata tables with SQLite storage for vector features, tiles, and related geospatial content. loaders.gl exposes the tables through common geometry and Arrow paths.

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.

CharacteristicValue
File FormatGeoPackage
Data FormatGeometry Tables, Arrow tables
File Extension.gpkg
MIME Typeapplication/geopackage+sqlite3
File TypeBinary SQLite database
Loader APIsload, parse
Loader Worker Thread❌ No
Loader Streaming❌ No
Source APIscreateDataSource, 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.