Opened 12 months ago

Closed 12 months ago

Last modified 12 months 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:
Cc:

Description

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 Changed 12 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 34733:

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

comment:2 Changed 12 months ago by Even Rouault

In 34734:

Fix test failure on Travis (fixes #6600)

Note: See TracTickets for help on using tickets.