🌍 wasm-spatial-core

Generate Cesium 3D Tiles in the browser — no server, no upload, no Cesium ion quota. Pick a scenario:

v0.2.0 Rust + WASM 456 KB gzipped Zero dependencies
Runs in your browser. First visit downloads about 1 MB of WASM.

Drop a LAS scan → Cesium 3D Tiles, no upload.

Cesium ion wants you to upload customer data. This runs the entire LAS → octree → pnts pipeline in your browser. The data never leaves your machine. Same for GeoTIFF → quantized-mesh terrain and GLB → b3dm tiles.

🛰️ Interactive — drag a .las / .tif / .glb file into the frame
The embed below is the full point-cloud-cesium demo. Click Initialize Cesium (no Ion token needed for the local-pipeline path), then drop a file. Tiles are built in-browser and rendered on the globe.
⚖️ Why this matters
Cesium ion (SaaS)Desktop toolswasm-spatial-core
Customer data leaves browser☁️ yes (uploaded)💻 no💻 no
Intranet / air-gap deployper-machine✅ static files
Per-GB / per-user cost☁️ yeslicense fee❌ free (MIT)
Streams multi-GB scanspartialn/a✅ COPC range fetch

WebGIS compute: 27× faster than Turf.js, in your browser.

Coordinate transforms (WGS-84 ↔ GCJ-02 / BD-09 / Web Mercator / UTM), GeoJSON parsing, and R-Tree spatial index — all WASM-native, no server round-trips. See the Benchmarks tab for head-to-head numbers vs hand-written JS.

🔄 Coordinate Transform sub-section A
📍 Input Coordinates
🔄 Transform Results
Select coordinates and click "Transform".
🗺️ Offset Visualization
WGS-84
GCJ-02
BD-09
Web Mercator
📦 GeoJSON Pipeline + Spatial Index sub-section B
📦 Data Source
📊 Pipeline Stats
Click "Run Pipeline" to begin.
🔍 BBox Search
Run pipeline first.
📍 Nearest Neighbor
Run pipeline first.
🗺️ Map View

Drag a LAS scan → decimate → export 3D Tiles, in-browser.

Browser-side point cloud workbench: voxel-grid decimation (WASM), live WebGL preview, and one-click export of the generated .pnts tileset. No CloudCompare, no server, no upload — useful for triaging customer scans before the heavy pipeline.

☁️ Point Cloud
Synthetic terrain preview with WASM voxel decimation, or drop your own .las / .laz.
Drop .las / .laz here or click to browse
📊 WASM Pipeline Stats
Open this tab to load the interactive preview.
💾 Export new
After running a pipeline (Synthetic / Sample LAS / dropped file), grab the generated Cesium 3D Tiles artifacts. Bytes are produced entirely in-browser; nothing is uploaded.
Run a pipeline first to enable export.
🎨 3D Preview — drag to explore
Left drag rotate · Right drag pan · Scroll zoom · Double-click reset
⏱️ WASM vs JS Benchmark
📊 Results
Click "Run Benchmark" to compare performance.
📈 Visual Comparison