Description
@geoarrow/deck.gl-layers is a JavaScript library of deck.gl layers for rendering GeoArrow geospatial data. It acts as a glue layer between Arrow data and deck.gl. The layers produce the same layer objects as upstream deck.gl, but they pass binary buffers straight to the GPU, which the site says makes large datasets fast to render with little memory overhead. The docs show a demo of 3.2 million points drawn with a GeoArrowScatterplotLayer. Layer properties follow the upstream deck.gl documentation, and any accessor can be given an Arrow vector. Input validation is on by default and can be turned off through the _validate property on most layer types. Polygon layers triangulate their geometry on up to eight web workers, so the main thread is not blocked. The documentation covers providing accessors, pre-computed Arrow columns, function accessors, and loading data from Arrow IPC, Parquet, GeoParquet and FlatGeobuf, including progressive rendering for streaming formats. It is aimed at developers building deck.gl maps who work with large geospatial datasets.…
Highlights
- deck.gl layers that render GeoArrow data
- Binary buffers passed straight to the GPU
- Polygon triangulation on web workers
- Loads Arrow IPC, Parquet, GeoParquet and FlatGeobuf
- Layer properties match upstream deck.gl
Ratings & Reviews
No ratings yet
Be the first to rate Deck.gl-geoarrow.
People also visit
Deepscatter
Zoomable, animated scatterplots in the browser that scales over a billion points
Deck.gl-geoarrow FAQ
What is this library?
A set of deck.gl layers for rendering GeoArrow data in the browser. The docs shown are for version 0.3.0.
Do I need to change how I use deck.gl?
The layers take the same properties as upstream deck.gl layers, so the deck.gl layer documentation applies. Accessors can take Arrow vectors.
Which data formats can it load?
The docs cover Arrow IPC, Parquet, GeoParquet and FlatGeobuf. Streaming formats such as Arrow IPC and Parquet can be rendered progressively, chunk by chunk.
Can I turn off validation?
Yes. Validation can be turned off with the _validate property on most layer types.
How are polygons handled?
GeoArrowSolidPolygonLayer triangulates polygons off the main thread, on up to eight web workers.
What are the best Deck.gl-geoarrow alternatives?
Popular alternatives to Deck.gl-geoarrow include deck.gl, Deepscatter and Lonboard. See all Deck.gl-geoarrow alternatives


