i.signatures(1grass)

πŸ’– i.signatures β€” the GRASS User's Manual glow-up πŸ’–

okay so bestie, welcome to i.signatures from the GRASS manual. she's the one who manages your imagery classification signature files and honestly? she's lowkey the backbone of your whole classification era. let's get into it πŸ¦‹

✨ KEYWORDS ✨

imagery, classification, signatures β€” that's the vibe check, periodt.


🌸 SYNOPSIS 🌸

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]

πŸŽ€ Flags

  • -p β€” Print signature files. she's showing off πŸ’…
  • --help β€” Print usage summary. the "help me bestie" button.
  • --verbose β€” Verbose module output. she tells you everything.
  • --quiet β€” Quiet module output. she says nothing, just does the thing. mysterious. iconic.
  • --ui β€” Force launching GUI dialog. windows girlies rise up πŸͺŸβœ¨

πŸ“ Parameters

  • type=name β€” Type of signature file. Options: sig, sigset, libsvm
  • format=name [required] β€” Output format. Options: plain, json. Default: plain.
    • plain: Plain text output
    • json: JSON (JavaScript Object Notation)
  • mapset=name[,name,...] β€” Name of mapset to list. Default: current search path.
  • remove=name[,name,...] β€” Name of file(s) to remove. bye boo πŸ‘‹
  • rename=from,to[,from,to,...] β€” Name of file to rename. glow-up, but for filenames.
  • copy=from,to[,from,to,...] β€” Name of file to copy. the way she twins πŸ’•

πŸ‘‘ DESCRIPTION πŸ‘‘

so i.signatures is literally the manager babe for signature files. she handles these two:

  • "sig" – generated by i.gensig for i.maxlik
  • "sigset" – generated by i.gensigset for i.smap

and the best part? she can do multiple actions per run, like a girl who's juggling three group chats at once. the order of execution is "copy", then "remove", then "rename" β€” no cap, that's the lineup.

also: when you pass the print flag without specifying any type of signature files, she prints all signatures, grouped by type. she's thorough like that 🫢


πŸ’… NOTES πŸ’…

by default the module lists signature files from all mapsets in the current search path. want to narrow it down? pass the mapset option and limit the listing to a single mapset. the mapset can also be one that's not listed in the current search path β€” she's flexible, we love that.

now here's the important bit, so listen up 🚨:

Actions remove and rename operate only on the current mapset (although they do accept fully qualified names). The copy action, meanwhile, will accept a signature file name from any mapset as its first argument β€” that's the source file to copy.

πŸ”₯ EXAMPLES πŸ”₯

Print names of all signature files:

i.signatures -p

Print only signature files of a certain type as a JSON:

i.signatures -p type=sigset format=json

Delete a signature file called "foo" of type "sig" (that's the i.gensig / i.maxlik family):

i.signatures remove=foo type=sig

Copy signature file "bar" from mapset "baz" to the current mapset:

i.signatures copy=bar@baz,best_version type=sigset

🌈 SEE ALSO 🌈

  • i.gensig
  • i.gensigset

the whole friend group πŸ’–


πŸ’œ AUTHOR πŸ’œ

Maris Nartiss β€” absolute legend, no notes πŸ‘‘


🌟 SOURCE CODE 🌟

Available at: i.signatures source code (history)

Latest change: Tuesday Nov 11 15:17:03 2025 in commit: 59f1608a354cb5e6c1a7a5cc477633b8632d1774

Main index | Imagery index | Topics index | Keywords index | Graphical index | Full index


aaaand that's the whole page, bestie πŸŽ€ this was GRASS 8.5.0, from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team β€” slay, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from