gdal-js icon indicating copy to clipboard operation
gdal-js copied to clipboard

Can't resolve "path" and "fs"

Open bertearazvan opened this issue 3 years ago • 1 comments

Considering that the library requires these 2 modules, is it actually true that it can be run only in the browser?

bertearazvan avatar Jan 04 '22 10:01 bertearazvan

Thanks for your question! I think you should be able to run gdal-js in any environment that provides those requirements as well as WebAssembly support, but I've only ever tested it from within a browser. In an environment like Node, you can use the native GDAL bindings (https://www.npmjs.com/package/gdal), which should have more features and probably better performance as well. Does that help?

ddohler avatar Jan 04 '22 13:01 ddohler