[GRASS-SVN] r48098 - in grass/trunk/scripts: r.mapcalculator r.rgb
r.shaded.relief v.db.droprow
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 3 12:50:39 EDT 2011
Author: neteler
Date: 2011-09-03 09:50:39 -0700 (Sat, 03 Sep 2011)
New Revision: 48098
Modified:
grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html
grass/trunk/scripts/r.rgb/r.rgb.html
grass/trunk/scripts/r.shaded.relief/r.shaded.relief.html
grass/trunk/scripts/v.db.droprow/v.db.droprow.html
Log:
NC examples added; HTML updated
Modified: grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html
===================================================================
--- grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html 2011-09-03 16:25:01 UTC (rev 48097)
+++ grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html 2011-09-03 16:50:39 UTC (rev 48098)
@@ -1,16 +1,17 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
+<em>r.mapcalculator</em> provides a GUI frontend to <em>r.mapcalc</em>.
+Up to 5 maps can be combined using simple expressions.
+In the expert mode, it runs <em>r.mapcalc</em> for more complex expressions.
-<EM>r.mapcalculator</EM> Provides a GUI frontend to r.mapcalc. Up to 5 maps can be combined using simple expressions. Expert mode runs r.mapcalc for more complex expressions.
-<br>
+<h2>SEE ALSO</h2>
-<H2>SEE ALSO</H2>
+<em><A HREF="r.mapcalc.html">r.mapcalc</A></em>
-<EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>,
+<h2>AUTHOR</h2>
-<H2>AUTHOR</H2>
+R. Brunzema (r.brunzema at web.de)<br>
+Updated to GRASS 5.7 by Michael Barton, Arizona State University
-R. Brunzema (r.brunzema at web.de)<BR>
-Updated to GRASS 5.7 by Michael Barton, Arizona State University
<p><i>Last changed: $Date$</i>
Modified: grass/trunk/scripts/r.rgb/r.rgb.html
===================================================================
--- grass/trunk/scripts/r.rgb/r.rgb.html 2011-09-03 16:25:01 UTC (rev 48097)
+++ grass/trunk/scripts/r.rgb/r.rgb.html 2011-09-03 16:50:39 UTC (rev 48098)
@@ -1,19 +1,18 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-<EM>r.rgb</EM> is a script that generates separate red, green and blue
+<em>r.rgb</em> is a script that generates separate red, green and blue
maps from a raster map and its associated color table.
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
-<P>
-<EM>
-<A HREF="r.composite.html">r.composite</A>,<br>
-<A HREF="r.blend.html">r.blend</A>,<br>
-<A HREF="r.colors.html">r.colors</A>,<br>
-<A HREF="r.mapcalc.html">r.mapcalc</A>,<br>
-</EM>
+<em>
+<a href="r.composite.html">r.composite</a>,
+<a href="r.blend.html">r.blend</a>,
+<a href="r.colors.html">r.colors</a>,
+<a href="r.mapcalc.html">r.mapcalc</a>
+</em>
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
Glynn Clements
Modified: grass/trunk/scripts/r.shaded.relief/r.shaded.relief.html
===================================================================
--- grass/trunk/scripts/r.shaded.relief/r.shaded.relief.html 2011-09-03 16:25:01 UTC (rev 48097)
+++ grass/trunk/scripts/r.shaded.relief/r.shaded.relief.html 2011-09-03 16:50:39 UTC (rev 48098)
@@ -1,41 +1,30 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-
-<EM>r.shaded.relief</EM> is a Bourne shell script that
-creates a raster shaded relief map based on current
+<em>r.shaded.relief</em> creates a raster shaded relief map based on current
resolution settings and on sun altitude, azimuth, and z-exaggeration values
entered by the user. If no output shademap name is given, the new shaded
-relief map is named <EM><input_map>.shade</EM>.
+relief map is named <em><input_map>.shade</em>.
The map is assigned a grey-scale color table.
-
-<P>
-If no parameters are provided on startup, this program is interactive;
-thus if the user enters the command:
-
-<DL>
-<DD>
-<B>r.shaded.relief</B>
-</DL>
-
-The program then prompts the user to enter values for:
-<OL>
-<LI>The <B>altitude</B> of the sun in degrees above the horizon
+<p>
+The module then prompts the user to enter values for:
+<ol>
+<li>The <b>altitude</b> of the sun in degrees above the horizon
(a value between 0 and 90 degrees), and
-<LI>The <B>azimuth</B> of the sun in degrees to the east of north
+<li>The <b>azimuth</b> of the sun in degrees to the east of north
(a value between 0 and 360 degrees).
-<LI>The name of a raster map layer to provide elevation values for the
+<li>The name of a raster map layer to provide elevation values for the
shaded relief map. Typically, this would be a map layer of elevation;
however, any raster map layer can be named.
-<LI>The scaling parameter, which compensates for a different horizontal
-<B>scale</B> than vertical scale. If 'scale' is a number then the ewres
+<li>The scaling parameter, which compensates for a different horizontal
+<b>scale</b> than vertical scale. If 'scale' is a number then the ewres
and nsres are multiplied by that scale to calculate the shading. (Default=1.0
for equivalent horizontal and vertical scales.)
-<LI>For the special case when a latitude-longitude projection is used with an
+<li>For the special case when a latitude-longitude projection is used with an
elevation map measured in meters (e.g., SRTM, ETOPO2 etc.) or feet, the
<b>units</b> can be set to automatically set the horizontal scale to the the number of
meters (scale=111120) or feet (scale=370400) in a degree of latitude. The script scales
@@ -43,38 +32,48 @@
it's close enough. It makes the difference between a usable and unusable shade.
The <b>units</b> parameter overrides the <b>scale</b> parameter.
-<LI>The <b>zmult</b> exaggeration factor that changes the apparent relief
+<li>The <b>zmult</b> exaggeration factor that changes the apparent relief
for the shaded relief map. This can be any positive (or negative) floating
point value. (Default=1.0)
+</ol>
-</OL>
-
-Specifically, <EM>r.shaded.relief</EM> executes a
-<EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>
-statement. Refer to the manual entry for
-<EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM> for an explanation
+Specifically, <em>r.shaded.relief</em> executes a <em>r.mapcalc</em>
+statement. Refer to the manual entry for <em>r.mapcalc</em> for an explanation
of the filtering syntax shown in the above expression.
See, for example, the section on "The Neighborhood Modifier".
-<P>
-<EM>r.shaded.relief</EM> then runs <EM><a href="r.colors.html">r.colors</A></EM>
+<p>
+<em>r.shaded.relief</em> then runs <em>r.colors</em>
to assign a grey-scale color table to the new shaded relief map.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
To visually improve the result of shade maps from low resolution elevation
models, use <em>r.resamp.interp</em> with bilinear or bicubic method to
-resample the DEM at higher resolution. <EM>r.shaded.relief</EM> is then
+resample the DEM at higher resolution. <em>r.shaded.relief</em> is then
run on the resampled DEM.
-<H2>FILES</H2>
+<h2>EXAMPLES</h2>
-This program is simply a shell script. Users are encouraged to make their
-own shell scripts using similar techniques.
-See <KBD>$GISBASE/scripts/r.shaded.relief</KBD>.
+In this example, the aspect map in the North Carolina sample
+dataset location is used to hillshade the elevation map:
-<H2>SEE ALSO</H2>
+<div class="code"><pre>
+g.region rast=elevation -p
+r.shaded.relief input=elevation output=elevation.shaded
+</pre></div>
+<p>
+In Latitude-Longitude locations (or other non-metric locations), the
+<em>scale</em> factor has to be used:
+
+<div class="code"><pre>
+# Latitude-Longitude example
+r.shaded.relief input=srtm output=srtm.shaded scale=111120
+</pre></div>
+
+<h2>SEE ALSO</h2>
+
"<i>r.mapcalc: An Algebra for GIS and Image Processing</i>", by Michael Shapiro
and Jim Westervelt, U.S. Army Construction Engineering Research Laboratory
(March/1991) (available from the GRASS web site).
@@ -83,16 +82,16 @@
<!-- RGB version not ported to GRASS 6:
<EM><A HREF="shade.clr.sh.html">shade.clr.sh</A></EM><BR>
-->
-<EM>
-<A HREF="d.his.html">d.his</A>,<br>
-<A HREF="g.region.html">g.region</A>,<br>
-<A HREF="r.blend.html">r.blend</A>,<br>
-<A HREF="r.colors.html">r.colors</A>,<br>
-<A HREF="r.mapcalc.html">r.mapcalc</A>,<br>
-<A HREF="r.resamp.interp.html">r.resamp.interp</A>
-</EM>
+<em>
+<a href="d.his.html">d.his</a>,
+<a href="g.region.html">g.region</a>,
+<a href="r.blend.html">r.blend</a>,
+<a href="r.colors.html">r.colors</a>,
+<a href="r.mapcalc.html">r.mapcalc</a>,
+<a href="r.resamp.interp.html">r.resamp.interp</a>
+</em>
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
Jim Westervelt, U.S. Army Construction Engineering
Research Laboratory
Modified: grass/trunk/scripts/v.db.droprow/v.db.droprow.html
===================================================================
--- grass/trunk/scripts/v.db.droprow/v.db.droprow.html 2011-09-03 16:25:01 UTC (rev 48097)
+++ grass/trunk/scripts/v.db.droprow/v.db.droprow.html 2011-09-03 16:50:39 UTC (rev 48098)
@@ -14,13 +14,13 @@
<h2>EXAMPLES</h2>
-Dropping all vector points without elevation attribute (Spearfish data set):<br>
+Dropping all vector points without elevation attribute (North Carolina data set):<br>
<div class="code"><pre>
-g.region rast=elevation.10m
+g.region rast=elevation -p
v.random output=rand5k_elev n=5000
v.db.addtable map=rand5k_elev column="elevation double precision"
-v.what.rast vect=rand5k_elev rast=elevation.10m column=elevation
+v.what.rast vect=rand5k_elev rast=elevation column=elevation
# verify absence of some elevation attributes ("number of NULL attributes"):
v.univar rand5k_elev type=point column=elevation
@@ -30,22 +30,22 @@
# verify:
v.univar rand5k_elev_filt type=point column=elevation
-
</pre></div>
<h2>SEE ALSO</h2>
-<em><a HREF="db.droptable.html">db.droptable</a></em>,
-<em><a HREF="db.execute.html">db.execute</a></em>,
-<em><a HREF="v.db.addcolumn.html">v.db.addcolumn</a></em>,
-<em><a HREF="v.db.addtable.html">v.db.addtable</a></em>,
-<em><a HREF="v.db.connect.html">v.db.connect</a></em>,
-<em><a HREF="v.db.dropcol.html">v.db.dropcol</a></em>,
-<em><a HREF="v.db.droptable.html">v.db.droptable</a></em>,
-<em><a HREF="v.db.select.html">v.db.select</a></em>,
-<em><a HREF="v.db.update.html">v.db.update</a></em>
+<em>
+<a HREF="db.droptable.html">db.droptable</a>,
+<a HREF="db.execute.html">db.execute</a>,
+<a HREF="v.db.addcolumn.html">v.db.addcolumn</a>,
+<a HREF="v.db.addtable.html">v.db.addtable</a>,
+<a HREF="v.db.connect.html">v.db.connect</a>,
+<a HREF="v.db.dropcol.html">v.db.dropcol</a>,
+<a HREF="v.db.droptable.html">v.db.droptable</a>,
+<a HREF="v.db.select.html">v.db.select</a>,
+<a HREF="v.db.update.html">v.db.update</a>
+</em>
-
<h2>AUTHOR</h2>
Markus Neteler
More information about the grass-commit
mailing list