Opened 18 years ago
Last modified 16 years ago
#1173 closed defect
gdal_translate: tiff tags discarded with -co profile=Geotiff or Baseline — at Version 2
Reported by: | Owned by: | Mateusz Łoskot | |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | minor | Keywords: | GeoTIFF |
Cc: | Mateusz Łoskot, Even Rouault |
Description (last modified by )
While converting tiff to tiff with gdal_translate, the creation options PROFILE=GeoTIFF and PROFILE=BASELINE discard many existing tifftags and/or prevent the addition of new ones. It seems to affect baseline [informative, non-critical] tags such as Resolutionunit, Imagedescription etc. (Other baseline tags are unsupported whatever profile is invoked ; e.g. Artist or Copyright)
Change History (2)
comment:2 by , 17 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Milestone: | → 1.5.0 |
Owner: | changed from | to
Mateusz,
I'd appreciate your looking into this. I think we need to call WriteMetadata() regardless of profile, but within WriteMetadata() we need to avoid writing custom TIFF metadata tags unless we are in the default GDALGeoTIFF profile.
Lets just do this in trunk since changes are fairly high risk, and need is modest. There should be a test suite test of some sort added to check profile operation in this regard, and perhaps some others.
Note:
See TracTickets
for help on using tickets.