Check if gdalinfo creates the xml files when used with the -stats option on your images. If it does, run it on all the images. I don&#39;t think there is a much quicker way. The computation of the statistics is the bottleneck here.<br>
<br><div class="gmail_quote">On Mon, May 10, 2010 at 11:43 PM, Rubin, Jared <span dir="ltr">&lt;<a href="mailto:JARED.RUBIN@saic.com">JARED.RUBIN@saic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>


<p><font size="2">That sucks. I have hundreds of images on disk and would like to just have the xml file for each file so that I can just do fast &quot;greps&quot; for specfic tags.<br>
What is the reason behind this design choice? Also are any of the gdalinfo calls quick?<br>
Jared<div><div></div><div class="h5"><br>
<br>
<br>
-----Original Message-----<br>
From: Chaitanya kumar CH [<a href="mailto:chaitanya.ch@gmail.com" target="_blank">mailto:chaitanya.ch@gmail.com</a>]<br>
Sent: Thu 5/6/2010 10:43 PM<br>
To: Rubin, Jared<br>
Cc: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
Subject: Re: [gdal-dev] Will gdalinfo generate the pam .aux.xml files?<br>
<br>
Jared,<br>
<br>
For gdalinfo to create .aux.xml files, you just need to force it to compute<br>
some metadata not stored in the file.<br>
<br>
On Fri, May 7, 2010 at 2:39 AM, Rubin, Jared &lt;<a href="mailto:JARED.RUBIN@saic.com" target="_blank">JARED.RUBIN@saic.com</a>&gt; wrote:<br>
<br>
&gt;  I am using gdal-1.6.2 (version not important) and would like for gdalinfo<br>
&gt; to generate  .aux.xml files  for NITF files that I have on disk, is this<br>
&gt; possible?<br>
&gt; If this is possible, will gdalinfo just load an  image.nitf.aux.xml file<br>
&gt; instead of image.nitf?<br>
&gt;<br>
&gt; Thanks<br>
&gt; Jared<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gdal-dev mailing list<br>
&gt; <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Chaitanya kumar CH.<br></div></div>
/t?a???nj?/ /k?m?r/<div class="im"><br>
+91-9848167848<br>
17.2416N 80.1426E<br>
<br>
</div></font>
</p>

</div>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.2416N 80.1426E<br>