Convert GPKG to FGB

Turn GPKG files into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GPKG files on the dialor turn it to pick what to do

A FlatGeobuf with your features and attributes.Coordinates stay in the source's system, and a spatial index is added.

  1. What you get

    One FGB file with the features and their attributes from the GPKG. The coordinate system of the source is kept, so the features land in the same place as before.

    The file has a spatial index. FlatGeobuf is a compact binary format for map features that streams over the web.

  2. What changes

    Features without a geometry are left out of the FGB.

    Lists and nested values in the attributes become JSON text, so they stay readable but are no longer lists or nested values.

  3. Several layers

    A GPKG can hold more than one layer. The layers are joined into one, and a layer column names the layer each feature came from. Output is always one file.

    To go the other way, use FGB to GPKG. For more options, see every GPKG conversion.

GPKG and FGB.What each format is.

The formats

From · GPKG

GeoPackage

The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.

Extensions
.gpkg
MIME type
application/geopackage+sqlite3
Kind
Text and data
To · FGB

FlatGeobuf

FlatGeobuf, a compact binary format for map features that streams over the web.

Extensions
.fgb
MIME type
application/flatgeobuf
Kind
Text and data

In your code.The same GPKG to FGB conversion through the API, for your app or your agent.

terminal
$ cv convert report.gpkg report.fgb
$ cv convert report.gpkg report.fgb

Questions.What people ask about GPKG to FGB.

01OF 04

Yes. The features stay in the coordinate system of the source.

They are left out of the FGB.

They are joined into one layer. A layer column tells you which layer each feature came from.

They become JSON text.

More conversions.Other ways in and out of GPKG and FGB.