<div dir="ltr" gmail_original="1">What about using JPEG compression with GeoTIFF files instead and thus enabling you to use COGs? In my experience, you can get pretty close to the JPEG2000 file size with a GeoTIFF with JPEG compression.<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">---<div>Ujaval Gandhi</div><div>Spatial Thoughts</div><div><a href="https://mailtrack.io/trace/link/f9609ee3ad14467596aab38dba52bda35825bff6?w=Z2RhbC1kZXZAbGlzdHMub3NnZW8ub3Jn&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=0f058cfed806f1e3" target="_blank">www.spatialthoughts.com</a></div><div><br></div></div></div></div><br></div><br><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/w/Z2RhbC1kZXZAbGlzdHMub3NnZW8ub3Jn/c46303e286007cf0c8a0d6f66f617e531a93afef.png?u=8747767" ><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 28, 2023 at 12:21 PM Tobby Moalem <mtobby59@gmail.com> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><span style="color: rgb(80, 0, 80);"><div style="font-style: inherit; font-variant: inherit; color: rgb(0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; font-kerning: inherit; font-feature-settings: inherit; vertical-align: baseline; box-sizing: inherit; width: 658px;"><p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-kerning: inherit; font-feature-settings: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both;">I am looking for a way to use my JPEG2000 over object storage (s3) efficiently. JPEG2000 structure is progressive by resolution, meaning that in order to get the maximum resolution of a tile, all previous resolutions have to be decoded. This leads to performing many GET request that cause slow performance for the user.</p><p style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-kerning: inherit; font-feature-settings: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both;">I know that JPEG2000 is extremely flexible, so I wonder if there is a way to store each resolution level by itself (similar to COG structure), so that with one GET request I will receive the entire resolution level of a tile.</p></div><div style="font-family: inherit; font-size: 13px; font-style: inherit; font-variant: inherit; color: rgb(0, 0, 0); margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; font-kerning: inherit; font-feature-settings: inherit; vertical-align: baseline; box-sizing: inherit;"><div style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: inherit; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-kerning: inherit; font-variant-alternates: inherit; font-variant-ligatures: inherit; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-feature-settings: inherit; vertical-align: baseline; box-sizing: inherit; clear: both; color: rgb(35, 38, 41); display: flex;"><div style="margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-kerning: inherit; font-feature-settings: inherit; vertical-align: baseline; box-sizing: inherit; display: flex;"></div></div><br></div></span>Thanks in advance,<div>Tobby</div></div>
______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/gdal-dev</a><br>
</blockquote></div>