Opened 17 years ago

Last modified 16 years ago

#1527 closed defect

Gdalwarp - GeoTiff creation option PROFILE ineffective — at Version 5

Reported by: quickstuff@… Owned by: warmerdam
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords: gtiff
Cc:

Description (last modified by warmerdam)

When exporting to GeoTiff with Gdalwarp, the creation option -co PROFILE=GeoTIFF or -co PROFILE=BASELINE is ignored. The geotiff dataset is always created with GeoTiff tags (and GDALGeoTiff tags, if any).

Tested under FWTools/Win32 1.2.3.

Change History (2)

comment:1 by warmerdam, 17 years ago

Some aspects of the PROFILE creation option only work when CreateCopy()
is used, not Create().  Gdalwarp uses Create(). 

This is quite confusing, and isn't strictly necessary.  The Create method
could be changed to associate the profile with the produced dataset, and 
avoid writing stuff to it that violates the the profile requirements.  

This will be a somewhat tricky change, and I judge it to not belong in 
the 1.4 branch, just trunk.  So I'm going to defer it a while so we
can concentrate on 1.4. 

comment:5 by warmerdam, 17 years ago

Description: modified (diff)
Milestone: 1.5.0
Priority: highestnormal
Note: See TracTickets for help on using tickets.