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

Unknown GCI: ArchGDAL.GDALColorInterp[ArchGDAL.GCI_Undefined, ArchGDAL.GCI_GrayIndex]. while using ArchGDAL.imread(dataset) #322

Open
igaszczesniak opened this issue Aug 19, 2022 · 6 comments

Comments

@igaszczesniak
Copy link

No description provided.

@maxfreu
Copy link
Contributor

maxfreu commented Aug 19, 2022

Please provide a description of the error, some minimum failing code and if possible sample data.

@igaszczesniak
Copy link
Author

So, I would like to display the multiple channel (13) image using the ArchGDAL package. I can read the file but later ArchGDAL.imread(dataset) command does not work;

image

@maxfreu
Copy link
Contributor

maxfreu commented Aug 19, 2022

I have no solution to your plotting problem using ArchGDAL, but I once wrote a plotting function for the Rasters package, which builds on top of ArchGDAL. You find it here rafaqz/Rasters.jl#182 (comment).

@yeesian
Copy link
Owner

yeesian commented Aug 19, 2022

Hi, thanks for filing the issue! I think we encouraged it at

Unknown GCI: $gciorder. Please file an issue at
https://github.com/yeesian/ArchGDAL.jl/issues if it should be
supported.
and appreciate you taking the time.

In the case of your dataset, it is unclear how you want to display the multi-channel (13) raster, so the package was unable to do so. If you wish to visualize them, you can possibly try reading and displaying them a channel at a time?

@visr
Copy link
Collaborator

visr commented Aug 19, 2022

It might be nice to add something like ArchGDAL.imread(path; red=3, blue=5, green=6)

https://www.esri.com/arcgis-blog/products/product/imagery/band-combinations-for-landsat-8/

@rafaqz
Copy link
Collaborator

rafaqz commented Aug 19, 2022

It might be nice to add something like ArchGDAL.imread(path; red=3, blue=5, green=6)

https://www.esri.com/arcgis-blog/products/product/imagery/band-combinations-for-landsat-8/

Was thinking the same thing recently.

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

5 participants