Opened 18 years ago

Last modified 17 years ago

#1130 closed defect

Setting the "AREA_OR_POINT" Metadata item on GeoTIFFs fails to work — at Initial Version

Reported by: cmichaelis@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: minor Keywords:
Cc: Mateusz Łoskot

Description

Hi there,

If I attempt to set the "AREA_OR_POINT" metadata item for a Geotiff in code, it
seems to work - and I can even use GetMetadataItem() to fetch it back and it is
indeed correct. 

However, it's never written to the file - if I close the file and reopen it, the
metadata item is no longer set.

The line I'm using to set it:
rasterDataset->SetMetadataItem("AREA_OR_POINT", "AREA");

The same thing seems to happen with various capitalizations of either parameter.
It also doesn't seem to take permanent effect if you pass this parameter to the
driver during creation of a new file.

Thanks!
--Chris Michaelis

Change History (0)

Note: See TracTickets for help on using tickets.