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

Type of buffer in read! is too restricted #410

Closed
felixcremer opened this issue Jan 31, 2024 · 2 comments · Fixed by #411
Closed

Type of buffer in read! is too restricted #410

felixcremer opened this issue Jan 31, 2024 · 2 comments · Fixed by #411

Comments

@felixcremer
Copy link
Contributor

When I try to plot a Raster which is based on an ArchGDAL overview array this does not work because I can't read! into a PermutedDims array. See rafaqz/Rasters.jl#596.

Can we expand the type that read! accepts so that we could read also into AbstractMatrix and not only Matrix?

@rafaqz
Copy link
Collaborator

rafaqz commented Jan 31, 2024

Possible that ArchGDAL.jl is passing that to C? In which case Array is really needed.

@yeesian
Copy link
Owner

yeesian commented Feb 2, 2024

Possible that ArchGDAL.jl is passing that to C?

Yes, they are being passed to C (but I can also see that it is too type-restrictive in some settings)

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

Successfully merging a pull request may close this issue.

3 participants