[GRASS-SVN] r59377 - grass-addons/grass7/raster/r.stream.snap

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 26 09:15:24 PDT 2014


Author: madi
Date: 2014-03-26 09:15:24 -0700 (Wed, 26 Mar 2014)
New Revision: 59377

Modified:
   grass-addons/grass7/raster/r.stream.snap/main.c
   grass-addons/grass7/raster/r.stream.snap/r.stream.snap.html
Log:
typos fix

Modified: grass-addons/grass7/raster/r.stream.snap/main.c
===================================================================
--- grass-addons/grass7/raster/r.stream.snap/main.c	2014-03-26 16:00:13 UTC (rev 59376)
+++ grass-addons/grass7/raster/r.stream.snap/main.c	2014-03-26 16:15:24 UTC (rev 59377)
@@ -4,8 +4,8 @@
  * MODULE:       r.stream.snap
  * AUTHOR(S):    Jarek Jasiewicz jarekj amu.edu.pl
  *               
- * PURPOSE:      Snap ponints features to nearest pour points. Usefull both to
- *               snap outlets well as sources. Use two parameters: 
+ * PURPOSE:      Snap points features to nearest pour points. Useful both to
+ *               snap outlets as well as sources. It uses two parameters: 
  *               maximum snap distance and minimum accumulation value to snap
  *               
  *
@@ -71,7 +71,7 @@
     opt_accum_treshold->type = TYPE_DOUBLE;
     opt_accum_treshold->answer = "-1";
     opt_accum_treshold->description =
-	_("Minimum accumulation streshold to snap");
+	_("Minimum accumulation threshold to snap");
 
     opt_distance_treshold = G_define_option();
     opt_distance_treshold->key = "radius";

Modified: grass-addons/grass7/raster/r.stream.snap/r.stream.snap.html
===================================================================
--- grass-addons/grass7/raster/r.stream.snap/r.stream.snap.html	2014-03-26 16:00:13 UTC (rev 59376)
+++ grass-addons/grass7/raster/r.stream.snap/r.stream.snap.html	2014-03-26 16:15:24 UTC (rev 59377)
@@ -1,48 +1,48 @@
 <h2>DESCRIPTION</h2>
 <p>
-Module r.stream.snap is a supplementary module for r.stream.extract and
-r.stream.basins to correct position of outlets or stream init points as they do
+The module r.stream.snap is a supplementary module for r.stream.extract and
+r.stream.basins to correct position of outlets or stream initial points as they do
 not lie on the streamlines.
 <br>
-For outlets situation is clear. Points are snapped to nearest point which lies
+For outlets, the situation is clear. Points are snapped to nearest point which lies
 on the streamline. In situation where there can be a small tributuary nearer
-than main stream accumulation treshold shall be high enough to force program
+than main stream accumulation threshold shall be high enough to force the program
 ignoring this tributuary and snap to the main stream. If there is no
-accumulation map points will be snapped to nearest stream line which in
-particular situation may be wrong. Bacuase r.stream is prepared to work with
-MFD accum maps, both stream network and accum map is neccessary to resolve the
+accumulation map, the points will be snapped to the nearest stream line, which in
+particular situations may be wrong. Because the r.stream modules are prepared to work with
+MFD accumulation maps, both stream network and accumulation map are neccessary to resolve the
 problem.
 <br>
-While it is assumed accum map is a MFD map, if stream network is not supplied,
-snap point is calculated in different way: treshold is used to select only these
-points in search radius which are accum value is greater than treshold. Next
-mean value of these points is calculated and its value is taken as a new
-treshold. This procedure guarantee that points are snapped to the center of
-stream tube. While for inits small tresholds are in use, it is probable than
+While it is assumed that the accumulation map is a MFD map, if the stream network is not supplied,
+the snap point is calculated in different way: the threshold is used to select only these
+points in search radius which have accumulation value greater than the given threshold. 
+The next mean value of these points is calculated and its value is taken as a new
+threshold. This procedure guarantees that points are snapped to the center of
+stream tube. While for inits small thresholds are in use, it is probable that
 points were snapped to the streamtube border instead of its center.
 </p>
 <p>
-It is strongly recommended, to use both stream network (even pre-generated with
-small accum treshold) and accumulation map, than accum or stream map only.
+It is strongly recommended to use both stream network (even pre-generated with
+small accumulation threshold) and accumulation map, than accumulation or stream map only.
 </p>
 
 <h2>OPTIONS</h2>
 <dl>
 <dt><b>streams</b></dt>
-<dd>Stream network created by r.stream.extract or r.watershed. If used, points
-are snapped to the nearest streamline point which accumulation is greater than
-treshold. If accumulation is not used point is snapped to the nearest stream.
+<dd>Stream network created by r.stream.extract or r.watershed. If used, the points
+are snapped to the nearest streamline point whose accumulation is greater than
+threshold. If the accumulation is not used, the point is snapped to the nearest stream.
 </dd>
 
 <dt><b>accum</b></dt>
-<dd>Accumulation map created with r.watershed and used to generate stream network
-with r.stream.extract. If stream network is not in use, point is adaptively
-snapped to the to point where value is greater than mean values of accumulation
-greater than given treshold in a searcyh radius. See description for details.
+<dd>Accumulation map created with r.watershed and used to generate the stream network
+with r.stream.extract. If the stream network is not used, the point is adaptively
+snapped to the point where the value is greater than mean values of accumulation
+greater than given threshold in a search radius. See description for details.
 </dd>
 <dt><b>radius</b></dt>
-<dd>Search radius (in cells). If there are no streams in search radius, point is
-not snapped. If there are no cells with accumulation greater than accumtreshold
+<dd>Search radius (in cells). If there are no streams in the search radius, the point is
+not snapped. If there are no cells with accumulation greater than accumulation threshold, the
 point also is not snapped.
 </dd>
 
@@ -54,21 +54,21 @@
 
 <dt><b>input</b></dt>
 <dd>Vector file containing outlets or inits as vector points. Only point's
-categories are used Table attached to it is ignored. Every point shall have his
+categories are used. Any table attached to it is ignored. Every point shall have his
 own unique category.
 </dd>
 </dl>
 
 
 <h2>OUTPUTS</h2>
-<p>Vector file containing outlets or inits after snapping. On layer 1 original
+<p>Vector file containing outlets or inits after snapping. On layer 1, the original
 categories are preserved, on layer 2 there are four categories which mean:</p>
 <ol>
 <li>skipped (not in use yet)
 <li>unresolved (points remain unsnapped due to lack of streams in search radius
 <li>snapped (points snapped to streamlines)
-<li>correct (points whcich remain on its original position, which was
-originally corrected
+<li>correct (points which remain on their original position, which were
+originally corrected)
 </ol>
 
 



More information about the grass-commit mailing list