[GRASS-SVN] r70049 - in grass/branches/releasebranch_7_2/raster: r.contour r.viewshed

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 9 10:15:57 PST 2016


Author: neteler
Date: 2016-12-09 10:15:57 -0800 (Fri, 09 Dec 2016)
New Revision: 70049

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


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

   + OBJ.*
*.tmp.html


Modified: grass/branches/releasebranch_7_2/raster/r.contour/r.contour.html
===================================================================
--- grass/branches/releasebranch_7_2/raster/r.contour/r.contour.html	2016-12-09 18:14:52 UTC (rev 70048)
+++ grass/branches/releasebranch_7_2/raster/r.contour/r.contour.html	2016-12-09 18:15:57 UTC (rev 70049)
@@ -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>

Copied: grass/branches/releasebranch_7_2/raster/r.contour/r_contour_using_levels.png (from rev 70048, grass/trunk/raster/r.contour/r_contour_using_levels.png)
===================================================================
(Binary files differ)

Modified: grass/branches/releasebranch_7_2/raster/r.viewshed/r.viewshed.html
===================================================================
--- grass/branches/releasebranch_7_2/raster/r.viewshed/r.viewshed.html	2016-12-09 18:14:52 UTC (rev 70048)
+++ grass/branches/releasebranch_7_2/raster/r.viewshed/r.viewshed.html	2016-12-09 18:15:57 UTC (rev 70049)
@@ -185,7 +185,7 @@
 
 <div align="center" style="margin: 10px">
 <a href="r.viewshed.png">
-<img src="r.viewshed.png" width="900" alt="r.viewshed example" border=0><br>
+<img src="r.viewshed.png" width="600" alt="r.viewshed example" border=0><br>
 </a>
 <i>Viewshed shown on shaded terrain (observer position in the north-east quadrant with white dot; 5m above ground)</i>
 </div>



More information about the grass-commit mailing list