<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Please keep the mailing list copied (I re-added it)</p>
<p>This is not the most recent one (3.2.2 is), but skimming quickly
through release notes, I can't see anything directly related, so
it might still be current with the recent versions. Altough I see
that a bunch of "avoid unsigned integer overflow" type of fixes
have been done since 2.4, so some of them might have accidentally
fixed the issue.</p>
<p>If you can try with the latest version ( Docker images mentioned
at <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/tree/master/gdal/docker">https://github.com/OSGeo/gdal/tree/master/gdal/docker</a>, Conda,
etc .), that could be interesting.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 06/04/2021 à 19:51, ni hao a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:DM5PR02MB3862B1E9DED38A11D9E1A4B2F1769@DM5PR02MB3862.namprd02.prod.outlook.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, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi Even,</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
The version is 2.4.4.</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> April 6, 2021 2:46 PM<br>
<b>To:</b> ni hao <a class="moz-txt-link-rfc2396E" href="mailto:ni_hao88@hotmail.com"><ni_hao88@hotmail.com></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] NITF Int16 image size limit</font>
<div> </div>
</div>
<div>
<p>Shawn,</p>
<p>This sounds more like a unwanted integer overflow somewhere
in the NITF driver. Is this with a recent GDAL ? If so,
please file a bug at
<a class="x_moz-txt-link-freetext"
href="https://github.com/OSGeo/gdal/issues/new"
moz-do-not-send="true">
https://github.com/OSGeo/gdal/issues/new</a> with all the
details needed. A link to the dataset would be ideal, but
otherwise please provide in the ticket description the output
of "gdalinfo your.nitf"</p>
<p>Even<br>
</p>
<div class="x_moz-cite-prefix">Le 06/04/2021 à 19:35, ni hao a
écrit :<br>
</div>
<blockquote type="cite">
<div>
<p>Hi list,</p>
<p><br>
</p>
<p>I encountered problem ingesting a large NITF Int16 image
with GDAL:</p>
<p>NITF 2-band image in Int16 format, <span>4.3 GB. It has </span><span>19690
lines x 61180 pixels. The upper 90% of the image looks
fine. But the last 2000 lines fail to load by GDAL.
That coincides with the 32-bit boundary. </span></p>
<p><span><br>
</span></p>
<p><span>Note that another<span> larger </span><span>NITF</span> in <span>32-bit
float, 10.1 GB file loads fine. </span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Is there a hard limit on NITF Int16
file size?</span></span></p>
<div>
<div>
<div class="x_x_BodyFragment">
<div class="x_x_PlainText"> </div>
<div class="x_x_PlainText">Thanks,<br>
Shawn</div>
</div>
</div>
</div>
<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://lists.osgeo.org/mailman/listinfo/gdal-dev" 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="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</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>