When using a driver's CreateCopy function to copy a source dataset in
GTiff format, It seems that the AREA_OR_POINT metadata is not
initialized.
This is seemingly for performance reasons as shown in the code below.
However, it has the unwanted side-effect that the AREA_OR_POINT
metadata item is not copied over in most (all?) drivers.
This may be worth fixing and certainly worth being documented somewhere.
Are there other drivers which have the same behaviour?
char **GTiffDataset::GetMetadata( const char * pszDomain )
{
[...]
/* FIXME ? Should we call LookForProjection() to load
GDALMD_AREA_OR_POINT ? */
/* This can impact performances */
return oGTiffMDMD.GetMetadata( pszDomain );
}
regards,
Etienne
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev