RasterWorker
Source: RasterWorker.ts:24
Raster pixels work out of the main thread: the terrain grid heights of the tile pixels, as createTileHeights makes them, and the GeoTIFF tile resampling, as warpRasters does.
Constructor
new RasterWorker(numWorkers): RasterWorkerInstance Methods
heights()
Returns the promise of the tile grid heights of the pixels, the pixels are moved to the worker.
warp()
Returns the promise of the resampled tile rasters, the window rasters and mask are moved to the worker.