Caution! It is strongly recommended to run this code inside of a web worker.
To see complete examples for how to do this, checkout the
From simplest to most complex, these are:
If you want to use GDAL from within a Node application, you are probably looking for https://www.npmjs.com/package/gdal.
This library exports the following GDAL functions:
For documentation of these functions' behavior, please see the GDAL documentation
In order to limit build size, GDAL is currently built with support for GeoTIFFs and PNGs only.
- Install Docker
./scripts/setup, which will build the Docker container.
./scripts/make gdal. The make script just calls
makefrom inside the Docker container.
./scripts/make cleanworks as expected.
- To package up a release, run
./scripts/make VERSION=<number> release