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't think there is a much quicker way. The computation of the statistics is the bottleneck here.
On Mon, May 10, 2010 at 11:43 PM, Rubin, Jared <jared.ru...@saic.com> wrote: > 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 "greps" for specfic > tags. > What is the reason behind this design choice? Also are any of the gdalinfo > calls quick? > Jared > > > > -----Original Message----- > From: Chaitanya kumar CH > [mailto:chaitanya...@gmail.com<chaitanya...@gmail.com> > ] > Sent: Thu 5/6/2010 10:43 PM > To: Rubin, Jared > Cc: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Will gdalinfo generate the pam .aux.xml files? > > Jared, > > For gdalinfo to create .aux.xml files, you just need to force it to compute > some metadata not stored in the file. > > On Fri, May 7, 2010 at 2:39 AM, Rubin, Jared <jared.ru...@saic.com> wrote: > > > I am using gdal-1.6.2 (version not important) and would like for > gdalinfo > > to generate .aux.xml files for NITF files that I have on disk, is this > > possible? > > If this is possible, will gdalinfo just load an image.nitf.aux.xml file > > instead of image.nitf? > > > > Thanks > > Jared > > > > _______________________________________________ > > gdal-dev mailing list > > gdal-dev@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > -- > Best regards, > Chaitanya kumar CH. > /t?a???nj?/ /k?m?r/ > > +91-9848167848 > 17.2416N 80.1426E > > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9848167848 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev