Changes between Version 3 and Version 4 of rfc43_getmetadatadomainlist


Ignore:
Timestamp:
Oct 24, 2013, 3:09:48 PM (11 years ago)
Author:
Even Rouault
Comment:

add new gdalinfo options

Legend:

Unmodified
Added
Removed
Modified
  • rfc43_getmetadatadomainlist

    v3 v4  
    7070  * For CEOS2 and ENVISAT, the list of metadata domains cannot be established easily. GetMetadataDomainList() will return the pattern of accepted domain names.
    7171
     72== Impacted utilities ==
     73
     74The gdalinfo utility is extented to accept :
     75  * a "-listmdd" option that will print the metadata domains available,
     76
     77{{{
     78$ gdalinfo ../autotest/gdrivers/data/byte_with_xmp.jpg -listmdd
     79
     80Driver: JPEG/JPEG JFIF
     81Files: ../autotest/gdrivers/data/byte_with_xmp.jpg
     82Size is 20, 20
     83Coordinate System is `'
     84Metadata domains:
     85  xml:XMP
     86Corner Coordinates:
     87Upper Left  (    0.0,    0.0)
     88Lower Left  (    0.0,   20.0)
     89Upper Right (   20.0,    0.0)
     90Lower Right (   20.0,   20.0)
     91Center      (   10.0,   10.0)
     92Band 1 Block=20x1 Type=Byte, ColorInterp=Gray
     93  Metadata domains:
     94    IMAGE_STRUCTURE
     95  Image Structure Metadata:
     96    COMPRESSION=JPEG
     97}}}
     98
     99  * and "-mdd all" will display the content of all metadata domains.
     100
     101
     102{{{
     103$ gdalinfo ../autotest/gdrivers/data/byte_with_xmp.jpg -mdd all
     104
     105Driver: JPEG/JPEG JFIF
     106Files: ../autotest/gdrivers/data/byte_with_xmp.jpg
     107Size is 20, 20
     108Coordinate System is `'
     109Metadata (xml:XMP):
     110<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
     111<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 7.89'>
     112<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
     113
     114 <rdf:Description rdf:about=''
     115  xmlns:dc='http://purl.org/dc/elements/1.1/'>
     116  <dc:description>
     117   <rdf:Alt>
     118    <rdf:li xml:lang='x-default'>Description</rdf:li>
     119   </rdf:Alt>
     120  </dc:description>
     121  <dc:subject>
     122   <rdf:Bag>
     123    <rdf:li>XMP</rdf:li>
     124    <rdf:li>Test</rdf:li>
     125   </rdf:Bag>
     126  </dc:subject>
     127  <dc:title>
     128   </rdf:Alt>
     129  </dc:title>
     130 </rdf:Description>
     131
     132 <rdf:Description rdf:about=''
     133  xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>
     134  <tiff:BitsPerSample>
     135   <rdf:Seq>
     136    <rdf:li>8</rdf:li>
     137   </rdf:Seq>
     138  </tiff:BitsPerSample>
     139  <tiff:Compression>1</tiff:Compression>
     140  <tiff:ImageLength>20</tiff:ImageLength>
     141  <tiff:ImageWidth>20</tiff:ImageWidth>
     142  <tiff:PhotometricInterpretation>1</tiff:PhotometricInterpretation>
     143  <tiff:PlanarConfiguration>1</tiff:PlanarConfiguration>
     144  <tiff:SamplesPerPixel>1</tiff:SamplesPerPixel>
     145 </rdf:Description>
     146</rdf:RDF>
     147</x:xmpmeta>
     148                                                                                                   
     149                                                                                                   
     150                                                                                                   
     151                                                                                                   
     152                                                                                                   
     153                                                                                                   
     154                                                                                                   
     155                                                                                                   
     156                                                                                                   
     157                                                                                                   
     158                                                                                                   
     159                                                                                                   
     160                                                                                                   
     161                                                                                                   
     162                                                                                                   
     163                                                                                                   
     164                                                                                                   
     165                                                                                                   
     166                                                                                                   
     167                                                                                                   
     168                                                                                                   
     169                                                                                                   
     170                                                                                                   
     171                                                                                                   
     172<?xpacket end='w'?>
     173Corner Coordinates:
     174Upper Left  (    0.0,    0.0)
     175Lower Left  (    0.0,   20.0)
     176Upper Right (   20.0,    0.0)
     177Lower Right (   20.0,   20.0)
     178Center      (   10.0,   10.0)
     179Band 1 Block=20x1 Type=Byte, ColorInterp=Gray
     180  Image Structure Metadata:
     181    COMPRESSION=JPEG
     182
     183}}}
    72184
    73185== Backward Compatibility ==