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

RGB is 1 or 0 #76

Open
ghost opened this issue Dec 6, 2018 · 6 comments
Open

RGB is 1 or 0 #76

ghost opened this issue Dec 6, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 6, 2018

Hi I have a file where the RGBs are read as either 1 or 0
I was hoping to share the file privately since it is a confidential file 88MB

I have loaded the file okay in QGIS - so I believe the file to be valid

@constantinius
Copy link
Member

Hi @khanhankkhan

Is your e-mail address on your github profile valid? In that case I can provide you a Drive folder where you can upload it.

@ghost
Copy link
Author

ghost commented Dec 6, 2018

Yes. That would be great.

@constantinius
Copy link
Member

Okay, you can now upload your file

@dartmoordunbar
Copy link

Did you resolve this?

@DanielJDufour
Copy link
Contributor

Although geotiff.js supports n-bit decompression, the main issue (I believe) is that 1/0 data is often encoded using CCITT Group 4 Compression and geotiff.js doesn't support this. I haven't even been able to find a JavaScript package that provides this decompression algorithm. If anyone would like to take on writing this algorithm, let us know! Would be a great opportunity to support the project!

@constantinius , let me know if I got anything wrong here :-)

@constantinius
Copy link
Member

Yes, CCITT is not (yet) implemented. I tried around a bit but never really got far and there is not much demand for that.

I don't remember if the original issue was because of this compression, though.

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

3 participants