Skip to main content

Columnar file format

Apache Parquet

Parquet stores typed columns in independently addressable pages. loaders.gl combines its format reader with Arrow output, metadata-first sources, range requests, and GeoParquet conventions for cloud-friendly data access.

Cloud data path

Metadata first, bytes second.

A Parquet application can inspect the footer and schema before reading all columns. That makes projection, predicate filtering, and spatial selection practical even when the file lives behind range requests.

Inspect

Read schema, footer, statistics, and GeoParquet metadata.

Select

Choose columns, row groups, pages, and optional predicates.

Decode

Return object rows or Arrow tables with typed columns.

Write

Encode compatible tables back to Parquet or GeoParquet.

Detailed guide

Parquet module details

The reference below compares loaders, sources, writers, output shapes, streaming behavior, and the options that govern selective reads.

CharacteristicValue
File FormatApache Parquet, GeoParquet
Data FormatTables, Geometry Tables
File Extension.parquet
MIME Typeapplication/octet-stream
File TypeBinary
Loader APIsload, parse, parseInBatches
Loader Worker Thread❌ No
Loader Streaming✅ Yes
Source APIscreateDataSource, getMetadata, getSchema, read, close
Writer APIsencode, encodeSync

Loaders, Sources and Writers​

Encodings​

Parquet stores data by column and groups values into row groups, column chunks, and pages. It supports per-column compression, repetition levels for nested data, and logical type annotations.

GeoParquet​

GeoParquet files are Parquet files with geospatial metadata in the schema and one or more geometry columns. See GeoParquet for the geospatial conventions supported by loaders.gl.