Changes between Initial Version and Version 2 of Ticket #1130


Ignore:
Timestamp:
Nov 23, 2007, 4:35:46 AM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1130

    • Property Status newclosed
    • Property Cc Mateusz Łoskot added
    • Property Resolutionworksforme
  • Ticket #1130 – Description

    initial v2  
    1 {{{
    21Hi there,
    32
    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.
     3If 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.
    74
    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.
     5However, it's never written to the file - if I close the file and reopen it, the metadata item is no longer set.
    106
    117The line I'm using to set it:
     8{{{
    129rasterDataset->SetMetadataItem("AREA_OR_POINT", "AREA");
     10}}}
    1311
    1412The 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.
     13It also doesn't seem to take permanent effect if you pass this parameter to the driver during creation of a new file.
    1714
    1815Thanks!
    1916--Chris Michaelis
    20 }}}