-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issue parsing geotiffs with deflate compression #158
Comments
Hi, @miccoh1994 . I'll update GeoBlaze dependencies and let's see if that helps. |
If it is helpful, when I try load the same geotiff at app.geotiff.io. The console logs:
|
Hi, @miccoh1994 . I believe I fixed this by upgrading the geotiff dependency and publishing a new version (https://www.npmjs.com/package/geoblaze). Could you reinstall and see if it works? |
Hi Daniel, thanks a lot for the publishing the new version. unfortunatley it didn't help. I figured out the issue is actually a bad build of the georaster dependecy. Had to rebuild georaster then update the node modules in geoblaze then rebuild geoblaze. That fixed the issue! Should I got file an issue at the georaster repo?? |
The issue only occured with minified georaster and geoblaze |
Yes, please file an issue with GeoRaster! Thank you!! |
The Bug
I am accessing data from an API that returns a deflated tiff which I save to a file ('image.tiff').
However, when I try and load this tiff with geoblaze in a nodejs application:
I get the following:
Error: Geoblaze had a problem parsing this file. Please make sure that you are sending a proper GeoTIFF file and try again.
However if I take that same geotiff and load it into a GIS (QGIS or Global Mapper) and export it with no compression or with compression such as 'packbits' the data loads correctly.
Typically we expect that since geoblaze is based on geotiff.js (which apparently supports deflate compression) geoblaze should be able to load deflataed geotiffs. Am I missing something here?
The text was updated successfully, but these errors were encountered: