You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this might be because it is marked as beta in the doc, but the npm package seems to omit the writeArrayBuffer function. I can see it browsing the code here, but when I try and repeat the documented example it is missing:
const G = require('geotiff');
console.log(g)
G.writeArrayBuffer(...). <-- undefined
Thanks for your interest! Yes, currently there is no release yet that includes the GeoTIFF write support. I will draft one soon, but until then, you can install from the latest master:
npm install -S geotiffjs/geotiff.js#master
I hope that helps and sorry for the inconvenience!
Hi @constantinius this didn't work, it just installed the source without building dist/
I've made a PR which fixes this behaviour, I've only been able to test with a branch URL in package.json of course
I guess this might be because it is marked as beta in the doc, but the npm package seems to omit the writeArrayBuffer function. I can see it browsing the code here, but when I try and repeat the documented example it is missing:
Output of log:
The text was updated successfully, but these errors were encountered: