[GRASS-SVN] r70048 - grass/trunk/raster/r.contour

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 9 10:14:52 PST 2016


Author: neteler
Date: 2016-12-09 10:14:52 -0800 (Fri, 09 Dec 2016)
New Revision: 70048

Added:
   grass/trunk/raster/r.contour/r_contour_using_levels.png
Modified:
   grass/trunk/raster/r.contour/
   grass/trunk/raster/r.contour/r.contour.html
Log:
r.contour manual: example with levels and screenshot added (contributed by Rich Shepard)


Property changes on: grass/trunk/raster/r.contour
___________________________________________________________________
Modified: svn:ignore
   - OBJ.*

   + OBJ.*
*.tmp.html


Modified: grass/trunk/raster/r.contour/r.contour.html
===================================================================
--- grass/trunk/raster/r.contour/r.contour.html	2016-12-09 18:14:20 UTC (rev 70047)
+++ grass/trunk/raster/r.contour/r.contour.html	2016-12-09 18:14:52 UTC (rev 70048)
@@ -32,16 +32,38 @@
 points contributing to the contour line:
 
 <div class="code"><pre>
-r.contour input=elevation.dem output=elevation_dem_contours minlevel=1000 maxlevel=2000 step=100 cut=200
+r.contour input=elevation.dem output=elevation_dem_contours \
+          minlevel=1000 maxlevel=2000 step=100 cut=200
 </pre></div>
 
 <p>
+For an example of using levels with <em>r.contour</em> this example uses
+the elevation map from the North Carolina database:
 
-North Carolina example:
+<div class="code"><pre>
+g.region raster=elevation
+r.contour in=elevation out=contours levels=60,90,120,150 --o
+d.mon wx0
+d.rast elevation_shade
+d.vect contours color=red
+</pre></div>
+
+<div align="center" style="margin: 10px">
+<a href="r_contour_using_levels.png">
+<img src="r_contour_using_levels.png" width="600" alt="r.contours example" border=0><br>
+</a>
+<i>Contour lines shown on shaded terrain map</i>
+</div>
+
+
 <p>
+For an example of using steps with <em>r.contour</em> this example uses
+the LiDAR data derived elevation map from the North Carolina database:
+
 <div class="code"><pre>
 g.region raster=elev_lid792_1m -p
-r.contour input=elev_lid792_1m output=elev_lid792_1m_contours minlevel=100 maxlevel=150 step=10
+r.contour input=elev_lid792_1m output=elev_lid792_1m_contours \
+          minlevel=100 maxlevel=150 step=10
 </pre></div>
 
 <h2>AUTHORS</h2>

Added: grass/trunk/raster/r.contour/r_contour_using_levels.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/raster/r.contour/r_contour_using_levels.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list