~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to scripts/i.spectral/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>i.spectral</em> displays spectral response at user specified 
4
 
locations in images.
5
 
 
6
 
<h2>NOTES</h2>
7
 
 
8
 
This script needs gnuplot to be installed.
9
 
 
10
 
 
11
 
<h2>EXAMPLES</h2>
12
 
 
13
 
Analysis of LANDSAT TM7 channels (North Carolina dataset):
14
 
 
15
 
<div class="code"><pre>
16
 
g.region rast=lsat7_2002_10 -p
17
 
d.mon x0
18
 
d.rast lsat7_2002_40
19
 
i.spectral -i rast=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70
20
 
</pre></div>
21
 
 
22
 
<center>
23
 
<img src="i_spectral.png" border=1><br>
24
 
Spectral plot of 3 different land cover types: (1) water, (2) green vegetation, and (3) highway
25
 
</center>
26
 
 
27
 
 
28
 
<p>
29
 
To analyze a time series of maps, use:
30
 
 
31
 
<div class="code"><pre>
32
 
d.rast map_1
33
 
LIST=`g.mlist type=rast mapset=timeseries pat="map_*" | sort -t '_' -k 2 -n | tr '\n' ','| sed 's+,$++g'`
34
 
i.spectral -i rast=$LIST
35
 
</pre></div>
36
 
 
37
 
This will search all maps in the mapset 'timeseries' which match have
38
 
the 'map_' prefix and order by a number following this prefix (day of the
39
 
year etc). The user is then asked to click into a map position and the
40
 
resulting pixel values of all matching maps are drawn in the gnuplot
41
 
output.
42
 
 
43
 
<h2>SEE ALSO</h2>
44
 
 
45
 
<em><a href="d.what.rast.html">d.what.rast</a></em><br>
46
 
<em><a href="d.where.html">d.where</a></em><br>
47
 
<em><a href="r.what.html">r.what</a></em><br>
48
 
 
49
 
<h2>AUTHOR</h2>
50
 
 
51
 
Markus Neteler<br>
52
 
Francesco Pirotti
53
 
 
54
 
<p><i>Last changed: $Date: 2012-08-20 12:35:34 +0200 (Mon, 20 Aug 2012) $</i>