[GRASS-SVN] r48105 - in grass/trunk/scripts: r.mapcalculator
r3.mapcalculator v.in.gpsbabel v.rast.stats v.report
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 4 06:17:03 EDT 2011
Author: neteler
Date: 2011-09-04 03:17:03 -0700 (Sun, 04 Sep 2011)
New Revision: 48105
Modified:
grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html
grass/trunk/scripts/r3.mapcalculator/r3.mapcalculator.html
grass/trunk/scripts/v.in.gpsbabel/v.in.gpsbabel.html
grass/trunk/scripts/v.rast.stats/v.rast.stats.html
grass/trunk/scripts/v.report/v.report.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-04 10:12:42 UTC (rev 48104)
+++ grass/trunk/scripts/r.mapcalculator/r.mapcalculator.html 2011-09-04 10:17:03 UTC (rev 48105)
@@ -4,6 +4,14 @@
Up to 5 maps can be combined using simple expressions.
In the expert mode, it runs <em>r.mapcalc</em> for more complex expressions.
+Enter an <em>r.mapcalc</em> expression in the formula field using the
+format: A+C or exp(A+C)+(B-2)*7 where A, B, C are raster maps entered
+in the A field, B field, and C field.
+<p>
+Do not enter output file in the formula field: correct: A+B; incorrect: newfile = A+B. Use no spaces or blanks.
+<p>
+Expert mode runs <em>r.mapcalc</em> for more complex expressions.
+
<h2>SEE ALSO</h2>
<em><A HREF="r.mapcalc.html">r.mapcalc</A></em>
Modified: grass/trunk/scripts/r3.mapcalculator/r3.mapcalculator.html
===================================================================
--- grass/trunk/scripts/r3.mapcalculator/r3.mapcalculator.html 2011-09-04 10:12:42 UTC (rev 48104)
+++ grass/trunk/scripts/r3.mapcalculator/r3.mapcalculator.html 2011-09-04 10:17:03 UTC (rev 48105)
@@ -1,21 +1,24 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
+<em>r3.mapcalculator</em> provides a GUI frontend to <em>r3.mapcalc</em>.
+Up to 5 maps can be combined using simple expressions.
+In the expert mode, it runs <em>r3.mapcalc</em> for more complex expressions.
-<EM>r3.mapcalculator</EM> Provides a GUI frontend to r3.mapcalc. Up to 5 maps can be combined using simple expressions.
-
-Enter an r3.mapcalc expression in the formula field using the format: A+C or exp(A+C)+(B-2)*7 where A, B, C are grid3D volumes entered in the A field, B field, and C field.
-
+Enter an <em>r3.mapcalc</em> expression in the formula field using the
+format: A+C or exp(A+C)+(B-2)*7 where A, B, C are 3D raster volumes entered
+in the A field, B field, and C field.
+<p>
Do not enter output file in the formula field: correct: A+B; incorrect: newfile = A+B. Use no spaces or blanks.
+<p>
+Expert mode runs <em>r3.mapcalc</em> for more complex expressions.
-Expert mode runs r.mapcalc for more complex expressions.
-<br>
+<h2>SEE ALSO</h2>
-<H2>SEE ALSO</H2>
+<em><A HREF="r3.mapcalc.html">r3.mapcalc</A></em>
-<EM><A HREF="r3.mapcalc.html">r.mapcalc</A></EM>,
+<h2>AUTHOR</h2>
-<H2>AUTHOR</H2>
+Michael Barton, Arizona State University. Based on r.mapcalculator by R. Brunzema (r.brunzema at web.de)
-Michael Barton, Arizona State University. Based on r.mapcalculator by R. Brunzema (r.brunzema at web.de)
<p><i>Last changed: $Date$</i>
Modified: grass/trunk/scripts/v.in.gpsbabel/v.in.gpsbabel.html
===================================================================
--- grass/trunk/scripts/v.in.gpsbabel/v.in.gpsbabel.html 2011-09-04 10:12:42 UTC (rev 48104)
+++ grass/trunk/scripts/v.in.gpsbabel/v.in.gpsbabel.html 2011-09-04 10:17:03 UTC (rev 48105)
@@ -1,21 +1,21 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-<EM>v.in.gpsbabel</EM> allows the user to import waypoint, route, and track
+<em>v.in.gpsbabel</em> allows the user to import waypoint, route, and track
data from a locally connected GPS receiver or a text file containing
GPS data of many common formats. Translation is done via the
-<EM><A HREF="http://www.gpsbabel.org">gpsbabel</a></EM> program.
+<em><a href="http://www.gpsbabel.org">GPSBabel</a></em> program.
-<P>
+<p>
This software is not intended as a primary means of navigation.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
<em>v.in.gpsbabel</em> automatically reprojects data using the
projection settings of the current location.
The default input data projection is lat/lon WGS84. If your GPS outputs data
using another projection or map datum, you may include the
-<EM><A HREF="http://proj.maptools.org">PROJ.4</a></EM>
+<em><a href="http://trac.osgeo.org/proj/">PROJ.4</a></em>
parameters defining your projection in the <b>proj</b> option and
<em>v.in.gpsbabel</em> will reproject your data accordingly.
Great care must be taken to get these parameters correct!
@@ -23,13 +23,13 @@
The automatic transform may be skipped by using the <b>-k</b> flag in which
case the data will be imported unprojected, as it appears in the <b>input</b>.
-<P>
-Route and Track data may be uploaded as a series of points by using the <B>-p</B>
-flag, otherwise they will be imported as lines. You can run <EM>v.in.gpsbabel</EM>
-multiple times and merge the line and point vectors with the <EM>v.patch</EM>
+<p>
+Route and Track data may be uploaded as a series of points by using the <b>-p</b>
+flag, otherwise they will be imported as lines. You can run <em>v.in.gpsbabel</em>
+multiple times and merge the line and point vectors with the <em>v.patch</em>
command if you want, but take care when merging dissimilar attribute tables.
-<H2>EXAMPLES</H2>
+<h2>EXAMPLES</h2>
<h3>GPS device connected via USB adapter</h3>
@@ -69,25 +69,25 @@
</pre></div>
-<H2>SEE ALSO</H2>
-<EM><A HREF="db.execute.html">db.execute</A></EM><BR>
-<EM><A HREF="v.in.ascii.html">v.in.ascii</A></EM><BR>
-<EM><A HREF="v.in.garmin.html">v.in.garmin</A></EM><BR>
-<EM><A HREF="v.db.connect.html">v.db.connect</A></EM><BR>
-<EM><A HREF="v.patch.html">v.patch</A></EM><BR>
-<BR>
+<h2>SEE ALSO</h2>
+<em>
+<a href="db.execute.html">db.execute</a>,
+<a href="v.in.ascii.html">v.in.ascii</a>,
+<a href="v.in.garmin.html">v.in.garmin</a>,
+<a href="v.db.connect.html">v.db.connect</a>,
+<a href="v.patch.html">v.patch</a>
+</em>
-<A HREF="http://www.gpsbabel.org">gpsbabel</a> from gpsbabel.org<BR>
-cs2cs from <A HREF="http://proj.maptools.org">PROJ.4</a><BR>
+<a href="http://www.gpsbabel.org">gpsbabel</a> from gpsbabel.org<br>
+cs2cs from <A HREF="http://trac.osgeo.org/proj/">PROJ.4</a>
-<P>
-<H2>AUTHORS</H2>
+<h2>AUTHORS</h2>
Claudio Porta and Lucio Davide Spano, students of Computer Science at
University of Pisa (Italy).<br>
Commission from Faunalia Pontedera (PI)<br><br>
Based on <em>v.in.garmin</em> for GRASS 6.0 by Hamish Bowman<br>
and <em>v.in.garmin.sh</em> for GRASS 5 by Andreas Lange
-<BR>
+<br>
<!--
When we tested the script with a Garmin GPS we noticed that importing waypoints
Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.html
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.html 2011-09-04 10:12:42 UTC (rev 48104)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.html 2011-09-04 10:17:03 UTC (rev 48105)
@@ -1,6 +1,6 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-<EM><b>v.rast.stats</b></EM> - Calculates basic univariate statistics from
+<em>v.rast.stats</em> calculates basic univariate statistics from
a raster map only for the parts covered by the specified vector map.
The vector map will be rasterized according to the raster map resolution.
Then univariate statistics are calculated per vector category (cat) from
@@ -9,14 +9,14 @@
<p>
Nine columns are generated (n, min, max, range, mean, stddev, variance,
coeff_var, sum) according to the output of <em>r.univar</em>.
-If the <B>-e</B> extended statistics flag is given the 1st quartile,
+If the <b>-e</b> extended statistics flag is given the 1st quartile,
median, 3rd quartile, and given percentile are also calculated.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
The module may take a long time to run if the raster region contains a large
-number of cells. In this case the <B>--verbose</B> flag may be used to track
+number of cells. In this case the <b>--verbose</b> flag may be used to track
progress.
<p>
The script stops if a (prefixed) upload column is already present in the
@@ -24,7 +24,7 @@
continue flag. The column prefix will be separated from the statistic name
with an underscore. For example with a prefix of "<tt>elev</tt>" the sum
column will be named <tt>elev_sum</tt>.
-<P>
+<p>
If a DBF database is being used, note that column names are restricted by the
DBF specification to 10 characters. Therefore it is advised to be economical
in the use of the column prefix when using DBF as any additional characters
@@ -32,7 +32,7 @@
<p>
If a MASK is present, it will be restored after the script finished.
The script changes temporarily to the resolution of the given raster map.
-<P>
+<p>
<!-- r.univar limitation -->
Large amounts of system memory can be used when the <B>-e</B> extended
statistics flag is used with a very large region setting. If the region
@@ -40,36 +40,36 @@
Basic statistics can be calculated using any size input region.
-<H2>EXAMPLES</H2>
+<h2>EXAMPLES</h2>
-Example to upload DEM statistics to vector field patches:
+Example to upload DEM statistics to ZIP codes vector map
+(North Carolina sample dataset):
<div class="code"><pre>
-# work on copy of original map:
-g.copy vect=fields,myfields
-# if needed, zoom to raster map:
-g.region rast=elevation.dem -p
+g.copy vect=zipcodes_wake,myzipcodes_wake
+# set computational region to DEM:
+g.region rast=elevation -p
# calculate DEM statistics, upload to vector map table:
-v.rast.stats myfields raster=elevation.dem colprefix=dem
+v.rast.stats myzipcodes_wake raster=elevation colprefix=elev
# verify results:
-v.info -c myfields
-v.db.select myfields
-v.univar myfields column=dem_range type=centroid
+v.info -c myzipcodes_wake
+v.db.select myzipcodes_wake
+v.univar myzipcodes_wake column=elev_range type=centroid
</pre></div>
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
-<EM>
-<A HREF="r.univar.html">r.univar</A>,
-<A HREF="v.univar.html">v.univar</A>,
-<a HREF="v.what.rast.html">v.what.rast</a>,
+<em>
+<a href="r.univar.html">r.univar</a>,
+<a href="v.univar.html">v.univar</a>,
+<a href="v.what.rast.html">v.what.rast</a>,
<a href="v.what.vect.html">v.what.vect</a>
-</EM>
+</em>
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
-Markus Neteler, CEA (<a href="http://www.eden-fp6project.net/">EDEN Project</a>)
+Markus Neteler, CEA (for the <a href="http://www.eden-fp6project.net/">EDEN EU/FP6 Project</a>)
<p>
<i>Last changed: $Date$</i>
Modified: grass/trunk/scripts/v.report/v.report.html
===================================================================
--- grass/trunk/scripts/v.report/v.report.html 2011-09-04 10:12:42 UTC (rev 48104)
+++ grass/trunk/scripts/v.report/v.report.html 2011-09-04 10:17:03 UTC (rev 48105)
@@ -1,29 +1,30 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</H2>
<em>v.report</em> generates a table showing the area present in
each of the categories of a user-selected data layer.
-<P>
+<p>
Area is given in hectares, square meters, and square kilometers.
If the units option is used, area is given in acres, square feet,
and square miles.
-<P>
+<p>
Feet and acre units are always reported in their common versions
(i.e. the International Foot, exactly 5280 feet in a mile), even
when the location's standard map unit is the US Survey foot.
-<P>
-<EM>v.report</EM> works on the full map data; therefore, the current
+<p>
+<em>v.report</em> works on the full map data; therefore, the current
region is ignored. If you wish to spatially limit the statistics,
-a map subset must be created with <EM>v.in.region</EM> and
-<EM>v.overlay</EM>, and then run <EM>v.report</EM> on the new map.
+a map subset must be created with <em>v.in.region</em> and
+<em>v.overlay</em>, and then run <em>v.report</em> on the new map.
<h2>EXAMPLE</h2>
-Spearfish example:
+North Carolina sample dataset:
<div class="code"><pre>
-v.report fields option=area units=hectares
+v.report zipcodes_wake option=area units=hectares
</pre></div>
+In the output, there is an extra column added containing the results.
<h2>SEE ALSO</h2>
@@ -34,7 +35,7 @@
</em>
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
Markus Neteler, GDF Hannover
More information about the grass-commit
mailing list