Open qpincon opened 4 years ago
Hi, @pinconquentin . That's a great idea! For GeoTIFFs, georaster depends on geotiff.js, so we will have to add a fromDataView function to geotiff.js. Would you like to post an issue at https://github.com/geotiffjs/geotiff.js/issues? Also, would you like to work on this?
Hello @DanielJDufour, sorry for the late response. I will probably post an issue there yes. Unfortunatly, I don't have a lot of time in my hands to work on this right now. Do you think there is a lot of work involved ? Thank you for your response anyway.
I would estimate that there would be about 1-2 days worth of work to add a fromDataView function to geotiff.js and add DataView support to georaster.
It would be nice if DataView was supported for parsing, as for now only ArrayBuffer is and a view onto it is not. Right now if multiple data are stored into a single ArrayBuffer the only way for the parser to work is to copy the interesting part into a new ArrayBuffer, copy which could be avoided. Thank you !