1i.spectral(1) GRASS GIS User's Manual i.spectral(1)
2
3
4
6 i.spectral - Displays spectral response at user specified locations in
7 group or images.
8
10 imagery, querying, raster, multispectral
11
13 i.spectral
14 i.spectral --help
15 i.spectral [-cgt] [group=name] [subgroup=name]
16 [raster=name[,name,...]] coordinates=east,north[,east,north,...]
17 [output=name] [format=string] [--overwrite] [--help] [--verbose]
18 [--quiet] [--ui]
19
20 Flags:
21 -c
22 Show sampling coordinates instead of numbering in the legend (valid
23 for -g flag)
24
25 -g
26 Use gnuplot for display
27
28 -t
29 output to text file
30
31 --overwrite
32 Allow output files to overwrite existing files
33
34 --help
35 Print usage summary
36
37 --verbose
38 Verbose module output
39
40 --quiet
41 Quiet module output
42
43 --ui
44 Force launching GUI dialog
45
46 Parameters:
47 group=name
48 Name of input imagery group
49
50 subgroup=name
51 Name of input imagery subgroup
52
53 raster=name[,name,...]
54 Name of input raster map(s)
55
56 coordinates=east,north[,east,north,...]Â [required]
57 Coordinates
58
59 output=name
60 Name for output image is valid for -g (or text file for -t flag)
61
62 format=string
63 Graphics format for output file (valid for -g flag)
64 Options: png, eps, svg
65 Default: png
66
68 i.spectral displays spectral response at user specified locations in
69 images.
70
72 This script requires the launch of one of the supported monitors
73 (cairo, png, ps) or gnuplot to be installed.
74
76 Analysis of LANDSAT TM7 channels (North Carolina dataset):
77 g.region raster=lsat7_2002_10 -p
78 i.spectral -g raster=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 \
79 coordinates=636069,215440,637958,223393,633277,223605
80 Spectral plot of 3 different land cover types: (1) water, (2) green
81 vegetation, and (3) highway
82
83 North Carolina sample dataset:
84 g.region raster=lsat7_2002_10 -p
85 LIST=`g.list type=raster pattern="lsat7_2002_[1-5,7]0" separator=","`
86 d.mon start=cairo output=plot.png
87 i.spectral raster=$LIST coordinates=637502.25,221744.25
88 d.mon stop=cairo
89 This will search all LANDSAT map for 2002 but select only the B, G, R,
90 NIR, and MIR channels.
91
93 d.where, r.what, Cairo driver, PNG driver, PS driver (Postscript)
94
96 Markus Neteler
97 Francesco Pirotti
98
100 Available at: i.spectral source code (history)
101
102 Accessed: Mon Jun 20 16:47:44 2022
103
104 Main index | Imagery index | Topics index | Keywords index | Graphical
105 index | Full index
106
107 © 2003-2022 GRASS Development Team, GRASS GIS 8.2.0 Reference Manual
108
109
110
111GRASS 8.2.0 i.spectral(1)