Application to output metadata given metadata type, source image, output file. Additional keywords can be passed to writer via the "-t" option which takes a keyword list.


ossim-img2md [options] <metadata_writer> <input_file> <output_file>


  --disable-elev    Will disable the elevation
  --disable-notify  Takes an argument. Arguments are ALL, WARN, NOTICE, INFO,
                    FATAL, DEBUG.  If you want multiple disables then just do
                    multiple --disable-notify on the command line.  All argument
                    are case insensitive.  Default is all are enabled.
  --disable-plugin  Will disable the plugin loader
  --ossim-logfile   takes a logfile as an argument.  All output messages are
                    redirected to the specified log file.  By default there is
                    no log file and all messages are enabled.
  -K                specify individual keywords to add to the preferences
                    keyword list: name=value
  -P                specify a preference file to load
  -T                specify the classes to trace, ex: ossimInit|ossimImage.* 
                    will trace ossimInit and all ossimImage classes
  -V or --version   Display version information.
  -h or --help      Shows help
  -t or --template  Template to pass to meta data writer.


  • Create world file from a GeoTIFF:
    ossim-img2md tiff_world_file foo.tif foo2.tfw 
  • Create a text file
    ossim-img2md ossim_readme foo.tif foo_readme.txt
Last modified 13 years ago Last modified on Oct 19, 2010, 12:03:56 PM
Note: See TracWiki for help on using the wiki.