Convert GPKG to PARQUET

Turn GPKG files into PARQUET. A GeoParquet file with one row for each feature: its shape as WKB in a geom column that GeoParquet metadata describes with its geometry types, bounding box and coordinate system, then every attribute as a column, with lists and nested values kept as Parquet lists and structs.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Map layers as a GeoParquet file.One row for each feature, with its shape and every attribute kept.

  1. What you get

    A GeoParquet file with one row for each feature. The shape sits in a geom column as WKB. GeoParquet metadata describes it with the geometry types, the bounding box and the coordinate system.

    Every attribute becomes its own column. Lists and nested values stay as Parquet lists and structs.

  2. Coordinate systems

    The coordinate system of the GPKG is kept. If the data names none, it is taken as WGS 84 when its coordinates fit. When they do not fit, the conversion stops with unsupported_elements.

  3. Several layers

    A GPKG can hold more than one layer. They are joined into one file, and a layer column names the layer each feature came from.

    The result is one file. To combine several PARQUET files afterward, you can merge PARQUET.

GPKG and PARQUET.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 · PARQUET

Parquet

The columnar data format of analytics. Compressed, typed and fast to scan.

Extensions
.parquet .pq
MIME type
application/vnd.apache.parquet
Kind
Text and data

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

terminal
$ cv convert report.gpkg report.parquet
$ cv convert report.gpkg report.parquet

Questions.What people ask about GPKG to PARQUET.

01OF 04

The shape of each feature, written as WKB. The GeoParquet metadata describes it with its geometry types, bounding box and coordinate system.

Yes. The coordinate system of the source is kept. Data that names none is taken as WGS 84 when its coordinates fit.

The layers are joined into one file. The layer column tells you which layer each feature came from.

The data names no coordinate system and its coordinates do not fit WGS 84. The conversion stops with unsupported_elements.

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