Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DataView #44

Open
qpincon opened this issue Feb 4, 2020 · 3 comments
Open

Support for DataView #44

qpincon opened this issue Feb 4, 2020 · 3 comments

Comments

@qpincon
Copy link

qpincon commented Feb 4, 2020

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 !

@DanielJDufour
Copy link
Member

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?

@qpincon
Copy link
Author

qpincon commented Feb 5, 2020

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.

@DanielJDufour
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants