[gdal-dev] Will gdalinfo generate the pam .aux.xml files?

Even Rouault even.rouault at mines-paris.org
Mon May 10 14:43:59 EDT 2010

The reason is that .aux.xml files are generated only when it is necessary, 
that is to say when the underlying base format cannot store the metadata.

You could just iterate through all your files and store the output of gdalinfo 
in a file to fetch it layer. Or you could use 'gdal_translate -of VRT in.ntf 
out.vrt' that will produce a XML file (not the same as the .aux.xml) with at 
least the metadata. 

Le Monday 10 May 2010 20:13:36 Rubin, Jared, vous avez écrit :
> 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.ch at gmail.com]
> Sent: Thu 5/6/2010 10:43 PM
> To: Rubin, Jared
> Cc: gdal-dev at 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.RUBIN at 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 at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list