Open hoetmaaiers opened 2 years ago
Hi, good question. I'm working on an upgrade to georaster that will hopefully make this easier, but in the meantime I would recommend calling geotiff.js' writeArrayBuffer function. Let me know if you have any questions about this function, as I wrote it :-)
You could also consider using georaster-layer-for-leaflet if it fits your needs.
Thank you @DanielJDufour for letting me know this is coming up. I missed out on writearraybuffer
. I already took a different solution for now, which is calculating the difference raster in numpy (server side).
In my application I am substracting 2 Geotiffs (values) to create a difference raster. To be able to plot this difference raster on my map using Geotiff.js, I need to pasre the whole Georaster object to an array buffer.
Is this possible or should I take a different route?