Skip to content
DuckDB community extension

duckgl

DuckDB geospatial visualization with deck.gl and MapLibre

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL duckgl FROM community;
LOAD duckgl FROM community;

Try it in a temporary SQL session with duckgl already loaded. Queries run in this tab; examples using files or services need their own setup.

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

Start DuckGL server

SQL
-- Start DuckGL server
SELECT duckgl_start('localhost', 8080);

-- Open http://localhost:8080 in browser

-- Stop server
SELECT duckgl_stop();

Provided by nkwork9999. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

DuckGL provides a web-based geospatial visualization interface for DuckDB.

HTML and PDF reports: Export HTML downloads an offline snapshot containing the last successful SQL query, all returned rows, and a north-up SVG geometry overview without base-map tiles. Export PDF opens that report in the browser print dialog; choose Save as PDF. Saved HTML contains no scripts and does not execute SQL.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
nkwork9999/duckgl
License
MIT
Maintainers
nkwork9999
Written in
C++
Build source
45ef59e814d2
Build definition
Community descriptor