[GRASS-SVN] r58798 - grass/trunk/raster/r.contour
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 29 08:19:59 PST 2014
Author: martinl
Date: 2014-01-29 08:19:59 -0800 (Wed, 29 Jan 2014)
New Revision: 58798
Modified:
grass/trunk/raster/r.contour/r.contour.html
Log:
r.contour manual cosmetics
Modified: grass/trunk/raster/r.contour/r.contour.html
===================================================================
--- grass/trunk/raster/r.contour/r.contour.html 2014-01-29 16:14:24 UTC (rev 58797)
+++ grass/trunk/raster/r.contour/r.contour.html 2014-01-29 16:19:59 UTC (rev 58798)
@@ -1,10 +1,16 @@
<h2>DESCRIPTION</h2>
-<em>r.contour</em> produces a GRASS binary vector map of specified contours from a GRASS raster map.
+<em>r.contour</em> produces a vector map of specified contours from input raster map.
-Contours can be produced using a comma-separated list of values in <b>levels</b>, or at some regular increment using the <b>step</b> parameter, using <b>minlevel</b> and <b>maxlevel</b> as minimum and maximum contour values, respectively. If no <b>minlevel</b> or <b>maxlevel</b> is specified, the minimum and maximum cell values in the <b>input</b> raster map will be used.
+Contours can be produced using a comma-separated list of values
+in <b>levels</b>, or at some regular increment using the <b>step</b>
+parameter, using <b>minlevel</b> and <b>maxlevel</b> as minimum and
+maximum contour values, respectively. If no <b>minlevel</b>
+or <b>maxlevel</b> is specified, the minimum and maximum cell values
+in the <b>input</b> raster map will be used.
<h2>NOTES</h2>
+
<em>r.contour</em> will either step through incremental contours or produce
contours from a list of levels, not both. If both a list of levels and
a step are specified, the list will be produced and the step will be ignored.
@@ -13,24 +19,27 @@
<p>If a contour level exactly matches a category value in the raster map,
the contour line may backtrack on itself, causing illegal arcs to be produced
-in the output GRASS vector map.
+in the output vector map.
<p>The optional <b>cut</b> parameter allows the user to specify a minimum number of
raster cells eligilble to be included in a contour line written to the <b>output</b>
vector map. It acts like a filter, omitting spurs, single points, etc., making the output more generalized.
<h2>EXAMPLE</h2>
+
In the Spearfish location, produce a vector contour map from input raster <i>elevation.dem</i>
with contour levels from 1000m to 2000m, 100m contour step, and a minimum of 200 input raster
points contributing to the contour line:
-<div><pre class="code">
+<div class="code"><pre>
r.contour input=elevation.dem output=elevation_dem_contours minlevel=1000 maxlevel=2000 step=100 cut=200
</pre></div>
<h2>AUTHORS</h2>
+
Terry Baker, U.S. Army Construction Engineering Research Laboratory<br>
3/2001: cut parameter and fixes by Andrea Aime (aaime at libero.it)
-<p><i>Last changed: $Date$</i>
+<p>
+<i>Last changed: $Date$</i>
More information about the grass-commit
mailing list