Duck db spatial extension

Is it possible tu use Duck DB spatial extension in Observable notebooks ?

duplicate of Extensions (spatial extension) with duckdb

1 Like

Cross-posting my workaround from the other thread here:
It is possible to get it working by using the latest version of the duckdb-wasm package installed from NPM, rather than the one built in with Observable. You have to manually setup the DB (or just pull the newest client from this notebook). From there you can install and load the spatial extension without issue. Happy to send along a brief example if useful.

1 Like