wiki:image_info

Version 1 (modified by mlucas, 17 years ago) ( diff )

--

image_info

 
Usage: image_infoimage_info [-i] [-p] <full path to file> [-v] [-o <geom 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.
  --ogeom-format    Formats the data to an ossim gemetry file, seperate files
                    for multi image file formats
  --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
  -h                Display this information
  -i                Will print out the general image information.
  -o                Will output the information to the file specified.  Default
                    is to standard out.
  -p                Will print out the projection information.
  -s                Force the ground rect to be the specified datum
  -v                Overwrite existing geometry.

 examples:

    image_info -i ./myfile.tif
      prints out only general image information

    image_info -p ./myfile.tif
      prints out only image projection information

    image_info -p -s wge ./myfile.tif
      prints out only image projection information and shifts to wgs84

    image_info -p -i ./myfile.tif
      prints out both image and projection information

    image_info -p -i ./myfile.tif -o ./myfile.geom
      writes geometry file with both image and projection information

    image_info -p -i ./myfile.tif -v -o ./myfile.geom
      writes geometry file with both image and projection information
      while overwriting exisitng .geom file.
Note: See TracWiki for help on using the wiki.