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

Exceeds max_safe_integer. Precision may be lost. #405

Open
salmanahmedmughal14048 opened this issue Nov 13, 2023 · 2 comments
Open

Exceeds max_safe_integer. Precision may be lost. #405

salmanahmedmughal14048 opened this issue Nov 13, 2023 · 2 comments

Comments

@salmanahmedmughal14048
Copy link

Hi,
I am testing it using large tif file of around 3 gbs. From a medical instrument of 40X zoom. But getting this error. I have another tif file of size 1 gbs and that is opening just fine.

image
Any help with getting that fixed will be appreciated.

@ashley-mort
Copy link

ashley-mort commented Nov 13, 2023

Is this a cloud optimized geotiff?

If not, try converting it first:
gdal_translate your.tif your_cog.tif -of COG -co COMPRESS=DEFLATE

@constantinius
Copy link
Member

@salmanahmedmughal14048 Unfortunately this is not enough information for me to see what exactly is going wrong here. 3gb is beyond the 2gb size for "BigTIFF", so this may be related.

Can you provide the file somehow? On a public HTTP storage? Otherwise could you show the output of gdalinfo or tiffdump?

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