i.signatures1grass
Manage imagery classification signature files
Usage
i.signatures
i.signatures --help
i.signatures [-p]
[type=name]
format=name
[mapset=name
[,name, ...]]
[remove=name
[,name, ...]]
[rename=from,to
[,from,to, ...]]
[copy=from,to
[,from,to, ...]]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
imagery, classification, signatures
Overview
i.signatures module allows managing signature files:
•
|
"sig" – generated by i.gensig for i.maxlik |
|---|---|
•
|
"sigset" – generated by i.gensigset for i.smap |
The module can perform multiple actions per run. The order of execution is "copy", "remove", "rename". When the print flag is specified without specifying any type of signature files, it would print all signatures grouped by type.
Notes
By default the module will list signature files from all mapsets in the current search path. It is possible to limit listing only to a single mapset by providing the "mapset" option. The mapset can be also not listed in the current search path.
Actions "remove" and "rename" operate only on the current mapset (although accept fully qualified names). The "copy" action will accept a signature file name from any mapset as its first argument (source file to copy).
Examples
Print names of all signature files:
i.signatures -p
Print only signature files of certain type as a JSON:
i.signatures -p type=sigset format=json
Delete signature file called "foo" of type "sig" (i.gensig / i.maxlik).
i.signatures remove=foo type=sig
Copy signature file "bar" from mapset "baz" to current mapset
i.signatures copy=bar@baz,best_version type=sigset
Source code
Available at: i.signatures source code (history)
Accessed: Monday Feb 24 17:51:38 2025
Main index | Imagery index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual