<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>The side effect of using a file where this warning is emitted is
      that this COMRAT field which indicates the compression rate will
      be set to a invalid value (or probably set to blank. I haven't
      checked). Pedantic software or validation procedures might be
      unhappy with that. GDAL based software will ignore that field on
      reading.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 14/08/2021 à 14:33, Chastain,
      Raymond Lee (MU-Student) a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CY4PR01MB2471AD28DEEA88E555C097979FFB9@CY4PR01MB2471.prod.exchangelabs.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Thanks Even that's fantastic,<br>
        <br>
        Do you know what side-effects if any we can expect due to this?<br>
        <br>
        We need to know if we should regenerate our imagery before we
        deliver it.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
        Thanks for your time,<br>
        Raymond.<br>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b> Even
          Rouault <a class="moz-txt-link-rfc2396E" href="mailto:even.rouault@spatialys.com"><even.rouault@spatialys.com></a><br>
          <b>Sent:</b> Saturday, August 14, 2021 7:28 AM<br>
          <b>To:</b> Chastain, Raymond Lee (MU-Student)
          <a class="moz-txt-link-rfc2396E" href="mailto:rlc5m8@mail.missouri.edu"><rlc5m8@mail.missouri.edu></a>; <a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:gdal-dev@lists.osgeo.org"><gdal-dev@lists.osgeo.org></a><br>
          <b>Subject:</b> Re: [gdal-dev] GDAL NITF COMRAT issue when
          combining SDE_TRE=YES with compressio</font>
        <div> </div>
      </div>
      <div>
        <div style="background-color:#FFC7CE; width:100%;
          border-style:solid; border-color:#9C0006; border-width:1pt;
          padding:2pt; font-size:10pt; line-height:12pt;
          font-family:'Calibri'; color:Black; text-align:left;
          margin-bottom:2pt">
          <span style="color:#9C0006; font-weight:bold">WARNING:</span>
          This message has originated from an External Source. This may
          be a phishing expedition that can result in unauthorized
          access to our IT System. Please use proper judgment and
          caution when opening attachments, clicking links, or
          responding to this email.</div>
        <div>
          <p>Raymond,</p>
          <p>I believe this has been fixed per this commit in master
            done a few weeks ago:</p>
          <p><a class="x_moz-txt-link-freetext"
href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgdal%2Fcommit%2F0decd82d582015c07bcf22c52cc03bbdda952ce9&data=04%7C01%7C%7Cd81ccff1e3754c4773c208d95f1f01c9%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637645409483708058%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=W1d2E0BTJo7Ld5xHIC66uckdF9cxE1pbIwuarPGZ%2BBo%3D&reserved=0"
originalsrc="https://github.com/OSGeo/gdal/commit/0decd82d582015c07bcf22c52cc03bbdda952ce9"
shash="O066dKLihAHmzYbIVXlIJm4kDhTviTnj0OhZT08+OP+6SVOADLYYcs6LD585K3jXCVUKKe/cLN8kybxdnS/gu6+BySy+Z1+aIh2BoG5Is//+7XvWELM2zMM0JZ2qMnWvwQjI4LE2he9uSdZ5jUTFX0bAEtMq5ip7kECg63vl20g="
              moz-do-not-send="true">https://github.com/OSGeo/gdal/commit/0decd82d582015c07bcf22c52cc03bbdda952ce9</a></p>
          <p>I've just backported it to the 3.3 branch</p>
          <p>Even<br>
          </p>
          <div class="x_moz-cite-prefix">Le 14/08/2021 à 13:22,
            Chastain, Raymond Lee (MU-Student) a écrit :<br>
          </div>
          <blockquote type="cite">
            <div><span>When we enable JPEG-2000 compression (or any IC=*
                creation option) alongside "SDE_TRE=YES" we get:</span></div>
            <div>
              <div>"Warning 1: Unable to locate COMRAT to update in NITF
                header."</div>
              <div><br>
              </div>
              <div>We require the precision increase provided by
                "SDE_TRE=YES" and <span>dropping the IC creation option
                  <br>
                </span></div>
              <div><span>explodes the size of our final mosaics by an
                  order of magnitude.</span> Using either option
                separately is fine,
                <br>
              </div>
              <div>however, combining them emits this warning. <span><br>
                </span></div>
              <div><br>
                For context we are taking GeoTIFF mosaics and converting
                them to the NITF format when we encounter this.<br>
                <span><br>
                </span></div>
              Thanks,<br>
              Raymond.<br>
            </div>
            <br>
            <fieldset class="x_mimeAttachmentHeader"></fieldset>
            <pre class="x_moz-quote-pre">_______________________________________________
gdal-dev mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="x_moz-txt-link-freetext" href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=04%7C01%7C%7Cd81ccff1e3754c4773c208d95f1f01c9%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637645409483718054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=78dJn9FLoWH9kcbp1z0ZdKMV6oiYtKBiYmKhtqILd88%3D&reserved=0" originalsrc="https://lists.osgeo.org/mailman/listinfo/gdal-dev" shash="HNR2Z8VG6u/B14P6ygTmXxwE32soG/g7YAwWV67uXy7tfXBGDwOTGVJIQGnqKCNK1bI1CK0B4+nmmu6b5JXi1tN7gTSeQIzkovjk3B2ym6qI3OZiHicpSLz3WmL4Ad4TvHs6nSsDmqIRVWTs7hzXa7oGcLZrUIkDtnba2ORPkQA=" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
          </blockquote>
          <pre class="x_moz-signature" cols="72">-- 
<a class="x_moz-txt-link-freetext" href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=04%7C01%7C%7Cd81ccff1e3754c4773c208d95f1f01c9%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637645409483728049%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ubDodTKc6F9h1iHXgG4LMEuqVhUUeYxI5hmQjlTSHwg%3D&reserved=0" originalsrc="http://www.spatialys.com/" shash="Om0Y+gi9q6aNn6La9cd0OW27Ob4Yh1ORndiFhnpFelezz3MBGP2TucIFVImmHtIXcjM7TcoaR38kdhoft4kOYbMPmYGrKW9AvtMksMxTNbyRwpt2Jj8Q/Miqw/1S78cQLj1apxDi7NLDllZZSsZ8f8/XD+dpoRlQV22peV/qEC4=" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>