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

Abort signal should be extended to getImage when performing slice's fetch action #408

Open
dsuren1 opened this issue Nov 16, 2023 · 0 comments

Comments

@dsuren1
Copy link

dsuren1 commented Nov 16, 2023

Description

Currently it is not possible to perform abort fetch action on fromUrl, fromCustomClient, fromArrayBuffer, fromFile & fromBlob as reported in this existing issue.

When this issue is addressed it would be nice to have this feature extended to getImage.

getImage performs a parseFileDirectoryAt to fetch DataSlice via getSlice. This call could end up expensive based on the tif source size, hence it would be nice to have abort signal passed down to getSlice from getImage to cancel the fetch action when required. This feature could ensure completeness in the abort action using geotiff fetch and image parsing.

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

No branches or pull requests

1 participant