We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When asking for stats on a file I would expect the original image metadata to be maintained.
TileDB::TrySaveXML in #1402 has the same issue so I will try and fix this there. Creating this issue for tracking purposes.
TileDB::TrySaveXML
wget https://download.osgeo.org/geotiff/samples/spot/chicago/UTM2GTIF.TIF gdal_translate -OF PNG UTM2GTIF.TIF output.png cp output.png.aux.xml original.png.aux.xml gdalinfo -stats output.png diff original.png.aux.xml output.png.aux.xml
I would expect the only difference to be the stats in the new metadata file, the old metadata has been removed.
Ubuntu 18.04 64 bit
Current master
The text was updated successfully, but these errors were encountered:
I put a simple fix in https://github.com/OSGeo/gdal/pull/1402/files#diff-9a223edcf74381629981a9396dcdc1db it is sufficient to check whether the serialized return is null or not.
Sorry, something went wrong.
22a7608
Merge pull request #1431 from rouault/fix_1430
b6ad25e
PAM: preserve existing metadata when setting new one (fixes #1430)
@normanb You can back out your change. I've fixed the issue slightly differently per #1431
b711807
rouault
No branches or pull requests
Expected behavior and actual behavior.
When asking for stats on a file I would expect the original image metadata to be maintained.
TileDB::TrySaveXML
in #1402 has the same issue so I will try and fix this there. Creating this issue for tracking purposes.Steps to reproduce the problem.
I would expect the only difference to be the stats in the new metadata file, the old metadata has been removed.
Operating system
Ubuntu 18.04 64 bit
GDAL version and provenance
Current master
The text was updated successfully, but these errors were encountered: