s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
11 lines • 323 B
JavaScript
import { sortChunk } from './sortChunk';
/**
* A worker that sorts a chunk of a file and sends it to an output directory
* @param event - the sort chunk message
*/
self.onmessage = (event) => {
void sortChunk(event.data).then((outFile) => {
postMessage(outFile);
});
};
//# sourceMappingURL=worker.js.map