geolibre-rust

geolibre-rust

GitHub: https://github.com/opengeos/geolibre-rust

⭐ 星星數: 289

摘要: geolibre-rust 是為 GeoLibre 打造的純 Rust 地理空間工具箱,將 whitebox_next_gen 工具(外加 GeoLibre 自研工具)編譯為 WebAssembly(WASI),在瀏覽器內即可執行,無需伺服器、GDAL 或任何原生安裝。

技術堆疊: Rust, WebAssembly, WASI, wasm-bindgen, npm, PyPI, GeoTIFF/COG

架構: npm 套件 geolibre-wasm 出貨兩層 API:瀏覽器函式庫層(wasm-bindgen)提供 GeoTIFF/COG 讀寫、投影、向量、LiDAR 與拓撲的型別化記憶體 API(如 GeoTiffReader、CogBuilder、CogStream);工具執行層(WASI)則透過 @bjorn3/browser_wasi_shim 在記憶體 /work 檔案系統上執行 whitebox 工具註冊表與 GeoLibre 新增的工具。新工具放在 geolibre-tools crate,與 whitebox 內建工具走同一註冊介面。同時發佈 Python(PyPI)版本,並附一個自包含 demo 頁面,自動為每個工具產生參數表單並在樣本 DEM 上執行。