GDAL
v3.13.3GeospatialGDAL 3.13.3, raster and vector geospatial data processing, packaged by crossbind as @crossbind/port-gdal and one package per target. Only a variant that is actually on npm beta is listed as published.
Packages
| Target | Package | npm `beta` |
|---|---|---|
| Meta package | @crossbind/port-gdal | 2.0.0-beta.56 |
| Web and Node.js | @crossbind/port-gdal-wasm | 2.0.0-beta.56 |
| WASI library | @crossbind/port-gdal-wasi | 2.0.0-beta.56 |
| WASI commands | @crossbind/port-gdal-bin-wasi | 2.0.0-beta.56 |
| Android | @crossbind/port-gdal-android | 2.0.0-beta.56 |
| iOS | @crossbind/port-gdal-ios | 2.0.0-beta.56 |
Install
Install the variant for the platform you build, declare it as a dependency in crossbind.config.js and import the header from JavaScript. Nothing is compiled on your machine. A project that builds for several platforms lists one variant per platform: @crossbind/port-gdal-wasi, @crossbind/port-gdal-android, @crossbind/port-gdal-ios are published too.
Header import paths are relative to the package's dist/prebuilt/<target>/include, so @crossbind/port-gdal/<header>.h is upstream's own header. The full flow, including what the meta package is for, is in the Libraries guide.
WASI command tools
29 upstream commands ship as npm executables built for wasm32-wasip3. They need wasmtime on PATH and no compiler - see WASI commands.
gdal-wasigdal_contour-wasigdal_create-wasigdal_footprint-wasigdal_grid-wasigdal_rasterize-wasigdal_translate-wasigdal_viewshed-wasigdaladdo-wasigdalbuildvrt-wasigdaldem-wasigdalenhance-wasigdalinfo-wasigdallocationinfo-wasigdalmanage-wasigdalmdiminfo-wasigdalmdimtranslate-wasigdalsrsinfo-wasigdaltindex-wasigdaltransform-wasigdalwarp-wasignmanalyse-wasignmmanage-wasinearblack-wasiogr2ogr-wasiogrinfo-wasiogrlineref-wasiogrtindex-wasisozip-wasi
Licence
- npm
licensefield of@crossbind/port-gdal:MIT. - The
-bin-wasipackage lists every statically linked component in its ownlicensefield, which is longer than the library licence above. - The licence files that ship with the package, and the port recipe, are in the port directory.
Facts on this page come from the port manifests in the repository and from what npm served on beta when the site was built. See the Libraries guide for the full consumer flow.