wiki:img2md

Version 4 (modified by dburken, 14 years ago) ( diff )

--

ossim-img2md

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.

Usage

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

Options

  --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.

Examples

  • 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
    
Note: See TracWiki for help on using the wiki.