Changes between Initial Version and Version 2 of Ticket #1130
- Timestamp:
- Nov 23, 2007, 4:35:46 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1130
- Property Status new → closed
- Property Cc added
- Property Resolution → worksforme
-
Ticket #1130 – Description
initial v2 1 {{{2 1 Hi there, 3 2 4 If I attempt to set the "AREA_OR_POINT" metadata item for a Geotiff in code, it 5 seems to work - and I can even use GetMetadataItem() to fetch it back and it is 6 indeed correct. 3 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. 7 4 8 However, it's never written to the file - if I close the file and reopen it, the 9 metadata item is no longer set. 5 However, it's never written to the file - if I close the file and reopen it, the metadata item is no longer set. 10 6 11 7 The line I'm using to set it: 8 {{{ 12 9 rasterDataset->SetMetadataItem("AREA_OR_POINT", "AREA"); 10 }}} 13 11 14 12 The same thing seems to happen with various capitalizations of either parameter. 15 It also doesn't seem to take permanent effect if you pass this parameter to the 16 driver during creation of a new file. 13 It also doesn't seem to take permanent effect if you pass this parameter to the driver during creation of a new file. 17 14 18 15 Thanks! 19 16 --Chris Michaelis 20 }}}