<div dir="ltr"><div dir="ltr">Hi,<div>I have a JP2 file that has an unsatisfactory amount of quality levels and was trying to create external overviews in tiff format for it (to have</div><div>faster views when fairly zoomed out, in a mosaic with many files).</div><div>I was trying with the following, but it fails:</div><div><br></div><div><div>gdaladdo -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL  myfile.jp2 2 4 8 16 32</div><div>myfile.jp2: BuildOverviews() not supported for this dataset.</div><div>Overview building failed.</div><div><br></div><div>I guess I can go using gdal_translate with the outsize parameter and then use gdaladdo on it but was</div><div>wondering why external overview creation is not supported for JP2 (like, maybe there are good reasons for it...</div><div>I looked at the code and have the impression that the code is reading the most appropriate quality level</div><div>without any further optimization, besides maybe in memory subsampling, but hey, I get lost easily in C/C++</div><div>code).</div><div><br></div><div>Cheers</div><div>Andrea</div><div><span style="font-size:14.6667px;white-space:pre-wrap;font-family:Arial"><br></span></div><div><span style="font-size:14.6667px;white-space:pre-wrap;font-family:Arial">==</span><br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font face="Arial"><span style="font-size:14.6667px;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.
==

Ing. Andrea Aime 
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

<a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a>
<a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a>


-------------------------------------------------------

<i>Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.</i>
</span></font></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>