~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to display/d.profile/description.html

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
The number of values will vary depending on the length of the profile, cell 
93
93
resolution and the slope angle of the profile line.  Below is an example
94
94
of a plotfile:
95
 
<P>
96
 
<TT>
97
 
# Profile A of elev.ft@snows<BR>
98
 
# From (702879.29679757, 4287317.55920185) to (702722.40973589, 4287061.72632285)<BR>
99
 
# Stats: Count = 644, Min = 2424.658936, Max = 2513.246094<BR>
100
 
# dist value east north<BR>
101
 
0.000000 2513.246094 702879.102364 4287317.516912<BR>
102
 
0.000000 2513.246094 702878.713496 4287317.118970<BR>
103
 
0.556395 2513.246094 702878.324629 4287316.721029<BR>
104
 
1.112790 2513.246094 702878.324629 4287316.323088<BR>
105
 
...<P>
106
 
</TT>
 
95
 
 
96
<div class="code"><pre>
 
97
# Profile A of elev.ft@snows
 
98
# From (702879.29679757, 4287317.55920185) to (702722.40973589, 4287061.72632285)
 
99
# Stats: Count = 644, Min = 2424.658936, Max = 2513.246094
 
100
# dist value east north
 
101
0.000000 2513.246094 702879.102364 4287317.516912
 
102
0.000000 2513.246094 702878.713496 4287317.118970
 
103
0.556395 2513.246094 702878.324629 4287316.721029
 
104
1.112790 2513.246094 702878.324629 4287316.323088
 
105
...
 
106
</pre></div>
107
107
 
108
108
<H2>NOTES</H2>
109
109
 
132
132
 
133
133
Useful enhancements to <EM>d.profile</EM> would include: 
134
134
 
135
 
<OL>
 
135
<UL>
136
136
 
137
137
<LI>Adding an option to display profiles using category
138
138
colors, like a bar-chart.
146
146
<LI>Allowing the user to enter profile line points by
147
147
typing coordinates.
148
148
 
149
 
</OL>
 
149
</UL>
150
150
 
151
151
<H3>Perl Script to convert output to a site_list</H3>
152
152
 
158
158
<TT>
159
159
<B>#! /usr/bin/perl -w</B><BR>
160
160
# prof2sites.pl: converts the output of d.profile to a site_list
161
 
<P>
 
161
<BR><BR>
162
162
<B>my</B> (<EM>$dist</EM>, <EM>$elev</EM>, <EM>$east</EM>, <EM>$north</EM>);
163
 
<P>
 
163
<BR><BR>
164
164
<B>while</B> (&lt;<B>STDIN</B>&gt;)<BR>
165
165
{<BR>
166
166
&nbsp;&nbsp;<B>if</B> (m/^#/)<BR>
191
191
Modified by Eric G. Miller for profile output, support of 
192
192
floating point rasters, and optional display raster (02-Dec-2000).
193
193
 
194
 
<p><i>Last changed: $Date: 2003-04-11 17:25:34 +0200 (ven, 11 apr 2003) $</i>
 
194
<p><i>Last changed: $Date: 2010-11-07 23:52:57 +0100 (Sun, 07 Nov 2010) $</i>