| Version 1 (modified by pborissow, 3 years ago) |
|---|
ossim-info
ossim-info is a command line application used display metadata for imagery, maps, terrain, and vector data.
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).
--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 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.
--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 data available, in this case, all nitf tags, from file.
ossim-info -d a.toc
Dumps all data available, in this case, all nitf and rpf tags, from file.
ossim-info --dno a.toc
"dno" for "dump no overviws" Dumps all data available,
in this case, all nitf and rpf tags, from file ignoring overviews.
ossim-info -d -i -p myfile.ntf
Typical usage case, i.e. do a dump of tags and print out image and
projection information.

