| Version 6 (modified by nhv, 3 years ago) |
|---|
ossim-info
ossim-info is a command line application used to display metadata for imagery, maps, terrain, and vector data. Output from ossim-info may include geometry information (corner coordinates, projection, etc), radiometry information (number of bands, bits per pixel, etc), and general file metadata (acquisition date, title, description, etc).
Usage
ossim-info [options] <inputFile>
Options
--configuration Displays configuration info.
--datums Prints datum list.
--deg2rad Gives radians from degrees.
--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
--dno A generic dump if one is available. This option
ignores overviews.
--factories Prints factory list.
--factory-keyword-list Optional, will output the keyword list from a
saveState on each object
--factory-object object type to instantiate
--factory-type The base class you wish to query. No argument defaults
to all registered type
--ft2mtrs Gives meters from feet (0.3048 meters per foot).
--ft2mtrs-us-survey Gives meters from feet (0.3048006096 meters per foot).
--height <latitude-in-degrees> <longitude-in-degrees> Returns
the MSL and ellipsoid height given a latitude longitude
position.
--mtrs2ft Gives feet from meters (0.3048 meters per foot).
--mtrs2ft-us-survey Gives feet from meters (0.3048006096 meters per foot).
--mtrsPerDeg Gives meters per degree and meters per minute for a
given latitude.
--ogeom-format Formats the data to an ossim geometry file, separate
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.
--palette Will print out the color palette if one exists.
--plugin-test Test plugin passed to option.
--plugins Prints plugin list.
--projections Prints projections.
--rad2deg Gives degrees from radians.
--resampler-filters Prints resampler filter list.
--version Display the version
--writer-props Prints writers and properties.
-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.
-d A generic dump if one is available.
-f Will output the information specified format [KWL |
XML]. Default is KWL.
-h Display this information
-i Will print out the general image information.
-m Will print out meta data information.
-o Will output the information to the file specified.
Default is to standard out.
-p Will print out the image projection information.
-s Force the ground rect to be the specified datum
-v Overwrite existing geometry.
Examples
ossim-info --version
ossim-info -i ./myfile.tif
prints out only general image information
ossim-info -p ./myfile.tif
prints out only image projection information
ossim-info -p -s wge ./myfile.tif
prints out only image projection information and shifts to wgs84
ossim-info -p -i ./myfile.tif
prints out both image and projection information
ossim-info -p -i ./myfile.tif -o ./myfile.geom
writes geometry file with both image and projection information
ossim-info -p -i ./myfile.tif -v -o ./myfile.geom
writes geometry file with both image and projection information
while overwriting existing .geom file.
ossim-info -f XML ./myfile.tif
prints out image and projection information as an XML document
ossim-info -d myfile.ntf
Dumps all metadata available from file (e.g. nitf and tiff tags).
ossim-info -d a.toc
Dumps all metadata available from file (e.g. nitf and tiff tags).
ossim-info --dno a.toc
Dumps all metadata available from a file, skipping any entries
that might be considered overviews.
ossim-info -d -i -p myfile.ntf
Metadata dump along with image and projection information.
ossim-info -i -p --dno a.toc
Includes image and projection information along with ancillary
metadata. Skips any entries that might be considered overviews.

