GeoParquet

On this page 7

GeoParquet is an open specification for storing vector geospatial data in Apache Parquet files, defining how geometries, coordinate reference systems and spatial metadata are encoded so that any compliant tool can read them. Among data formats, it brings columnar storage, compression and cloud-friendly access to points, lines and polygons that were traditionally held in Shapefile, GeoPackage or GeoJSON files.

The specification is developed in the open under the Open Geospatial Consortium (OGC), with version 1.0.0 published in 2023 and version 1.1 adding bounding-box columns and native geometry encodings. It does not create a new file type: a GeoParquet file is a valid Parquet file with extra conventions, so ordinary Parquet readers can still open it and see the non-spatial columns.

How GeoParquet encodes geometries in Parquet

GeoParquet stores each geometry in a dedicated geometry column, most commonly as Well-Known Binary (WKB) in a Parquet binary column. WKB is the long-established binary geometry encoding from the OGC Simple Features standard, so nearly every spatial library can decode it. Attribute columns such as names, categories or measurements sit beside the geometry column and benefit from normal Parquet compression.

The spatial description lives in file-level metadata under the key geo, a JSON document in the Parquet footer. It names the primary geometry column, the encoding, the coordinate reference system and optional summaries. The table lists the most important metadata fields.

FieldPurposeTypical value
versionSpecification version used1.0.0 or 1.1.0
primary_columnDefault geometry columngeometry
encodingHow geometries are serializedWKB or a native type such as point
crsCoordinate reference system as PROJJSONOmitted means OGC:CRS84
geometry_typesGeometry types present in the columnPolygon, MultiPolygon
bboxBounding box of all geometriesFour or six coordinates
edgesInterpretation of edges between verticesplanar or spherical
Key fields of the geo metadata object

When the crs field is absent, readers must assume longitude and latitude on WGS 84 in the OGC:CRS84 axis order. This default removes a frequent source of errors in older formats, where an axis order or a missing projection file silently shifted data by hundreds of kilometers.

Spatial filtering with bounding boxes and row groups

GeoParquet speeds up spatial queries by letting readers skip data that cannot match a search area. Parquet already keeps minimum and maximum statistics for each column in each row group, but WKB bytes carry no usable ordering. Version 1.1 therefore introduced an optional bounding-box covering column, a struct with xmin, ymin, xmax and ymax values whose statistics can be compared with a query window.

Filtering works well only when nearby features are stored together. Producers usually sort rows by a spatial index such as a Hilbert curve, geohash or S2 cell before writing, so each row group covers a compact area. A file of a whole country that is written in random order gives every row group a bounding box close to the country extent and defeats row-group pruning.

Combined with HTTP range requests, this design allows tools to read only the footer, then fetch only the relevant row groups from object storage. Analysts can query a multi-gigabyte national building dataset for a single city while downloading a small fraction of the file.

GeoParquet compared with other geospatial formats

GeoParquet is optimized for analytical reading of large vector datasets, not for editing individual features. The comparison below places it among the formats it most often replaces or complements.

FormatStorage modelStrengthMain limitation
GeoParquetColumnar, compressed binaryFast analytics and cloud accessPoor for frequent small edits
ShapefileSeveral row-based filesUniversal legacy support2 GB limit, 10-character field names
GeoJSONText, one documentHuman-readable, web-nativeLarge and slow at scale
GeoPackageSQLite databaseEditable, supports rasters tooRow-based, weaker for cloud scans
FlatGeobufRow-based binary with spatial indexStreaming and fast bbox readsLess efficient column compression
GeoParquet and related vector formats

Within the Parquet ecosystem, GeoParquet sits beside GeoArrow, which defines the in-memory Apache Arrow layout for geometries. Version 1.1 allows native GeoArrow-style encodings in which coordinates are stored as nested numeric columns, enabling coordinate-level statistics and avoiding WKB decoding. The Parquet format itself has also gained native geometry and geography logical types, and the GeoParquet community is aligning future versions with them.

Practical use and tool support

GeoParquet is supported by GDAL and OGR, GeoPandas, DuckDB with its spatial extension, Apache Sedona and several cloud data warehouses, which makes it a practical exchange format between desktop GIS and data platforms. Large open datasets, including building footprints and points of interest, are increasingly distributed in this format.

SituationRecommended choiceReason
Millions of features for analyticsGeoParquetColumnar scans and compression
Data lake or lakehouse storageGeoParquetFits Parquet-based table formats
Interactive editing in desktop GISGeoPackageSupports transactions and updates
Small web map overlayGeoJSONDirectly readable by browsers
Streaming features to a viewerFlatGeobuf or vector tilesOptimized for incremental display
When to choose GeoParquet

Good practice when writing files includes row groups of roughly 50,000 to 200,000 rows, spatial sorting, the bounding-box covering column and Zstandard or Snappy compression. Exact settings depend on feature size and query patterns, so producers should test with representative workloads.

Limitations and common pitfalls

GeoParquet inherits the immutability of Parquet files: changing one feature means rewriting at least a file, so frequent updates belong in a table format such as Apache Iceberg or Delta Lake on top of the files. It stores vector data only; rasters and multidimensional grids are better served by formats such as Zarr, NetCDF or Cloud Optimized GeoTIFF.

  • Missing geo metadata: a Parquet file with a WKB column but no geo key is not GeoParquet, and tools may treat geometries as plain bytes.
  • Unsorted data: without spatial ordering, bounding-box filtering brings little benefit.
  • Mismatched CRS assumptions: writing projected coordinates without a crs entry makes readers assume longitude and latitude.
  • Version gaps: older readers may ignore 1.1 features such as native encodings or covering columns.

The idea in brief

GeoParquet is a way to save map data efficiently in the same kind of file that data teams already use for large tables. Each row is a place, such as a building or a road, and one column holds its shape on the map.

Because the file is organized by column and carries a short description of where its data lies, software can jump straight to the area it needs instead of reading everything. It is like a well-indexed atlas compared with a pile of loose maps.

A practical scenario

A national mapping agency publishes about 40 million building footprints. As a single GeoJSON download, the dataset exceeds 30 GB and takes hours to load. The agency converts it to GeoParquet, sorts the buildings by a Hilbert curve, adds the bounding-box covering column and splits it into files by region, producing a compressed dataset of a few gigabytes on object storage.

An urban planner who needs only one city runs a DuckDB query with a bounding-box filter directly against the remote files. The engine reads the footers, fetches only the matching row groups and returns the result in seconds. Download volume falls to a few hundred megabytes, and the same files feed the agency’s own warehouse reports without conversion.