Apache Sedona reposted this
Today I'm releasing the first experimental build of CereusDB, a WebAssembly version of SedonaDB that runs in browsers: https://lnkd.in/daCDdAMv Recently I dug a bit deeper into Apache Sedona when I saw that they also offer SedonaDB, "an open-source single-node analytical database engine with geospatial as a first-class citizen". SedonaDB is built in Rust upon DataFusion, which theoretically enables Wasm builds via Emscripten. It relies heavily on the usual library suspects like GEOS, PROJ, S2 and GDAL, which makes compilation for Wasm targets a little more complicated. I used Codex with GPT-5.4 high/xhigh to iterate on an implementation, and after hitting some dead ends, it finally succeeded. Including all features wouldn't be a small library, so I decided to have different build which contain functional subsets (uncompressed / gzipped / brotli size in MB in the brackets): - minimal: Core + geo + GEOS + spatial joins / ST_KNN (21.3 / 6.2 / 4.0) - standard: minimal + PROJ / ST_Transform (40.6 / 10.8 / 6.0) - global: standard + opt-in S2 geography kernels (42.9 / 11.8 / 6.7) - full: global + GDAL-backed raster ingestion and the full RS_* functions (49.5 / 14.4 / 8.5) With the right headers, it can easily be cached in the browsers so it's only downloaded once and not on every page load. Let me know what you think, happy for any feedback!