[PROJ] Big grid files

Even Rouault even.rouault at spatialys.com
Sun Apr 27 05:43:40 PDT 2025


Le 24/04/2025 à 21:51, Mike Taves via PROJ a écrit :
>
> There is Git Large File Storage (Git LFS), which has a limit of 2GB.
>
Yes, but there are billing / bandwidth implications. I remember we had 
it enabled, but CI cloning typically exhausted the allowed free bandwidth.

Javier, maybe you can try using gdal_translate -scale X X X X -ot UInt16 
-co COMPRESS=DEFLATE -co TILED=YES -co PREDICTOR=2 with the appropriate 
scaling values ?

Or gdal_translate -co DISCARD_LSB=X -co COMPRESS=DEFLATE -co TILED=YES 
-co PREDICTOR=3  to nullify least signifcant bits of the mantissa.


>
> On Fri, 25 Apr 2025, 04:37 Javier Jimenez Shaw via PROJ, 
> <proj at lists.osgeo.org> wrote:
>
>     Hi
>
>     I am playing with the new American geoid model SGEOID2022
>
>     After compressing with this command (can I do it better?)
>     gdal_translate sgeoid2022.tif sgcomp.tif -co COMPRESS=DEFLATE -co
>     TILED=YES -co PREDICTOR=3
>     I get a 110 MB file (and it is only one band. No velocities).
>
>     GitHub has a limit of 100MB:
>     https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github
>
>     Just to let you know.
>
>     Cheers,
>     Javier.
>     _______________________________________________
>     PROJ mailing list
>     PROJ at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/proj
>
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20250427/adfb52a9/attachment.htm>


More information about the PROJ mailing list