Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6600 closed defect (fixed)

PDFDataset does not use .aux.xml files

Reported by: oleinik Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 2.1.1
Severity: normal Keywords:


and as result does not save/load users metadata.

class PDFDataset described as descendant from class GDALPamDataset. A subclass of GDALDataset which introduces the ability to save and restore auxiliary information (coordinate system, gcps, metadata, etc) not supported by a file format via an "auxiliary metadata" file with the .aux.xml extension.

PDFDataset has call to TryLoadXML, but next calls from client program to GDALGetMetadataItem does not returns any values saved in corresponding .aux.xml file. After changing metadata through GDALSetMetadataItem for users metadata domain and call to GDALFlushCache .aux.xml file does not creating or rewriting and all modifications are lost.

Change History (2)

comment:1 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 34733:

PDF: implement loading/saving of metadata from/into PAM (fixes #6600)

comment:2 by Even Rouault, 7 years ago

In 34734:

Fix test failure on Travis (fixes #6600)

Note: See TracTickets for help on using tickets.