[GRASS-SVN] r34315 - grass/trunk/raster/r.grow.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 16 02:00:17 EST 2008


Author: hamish
Date: 2008-11-16 02:00:16 -0500 (Sun, 16 Nov 2008)
New Revision: 34315

Added:
   grass/trunk/raster/r.grow.distance/r.grow.distance.html
Removed:
   grass/trunk/raster/r.grow.distance/description.html
Log:
fix borked commit

Deleted: grass/trunk/raster/r.grow.distance/description.html
===================================================================
--- grass/trunk/raster/r.grow.distance/description.html	2008-11-16 06:58:57 UTC (rev 34314)
+++ grass/trunk/raster/r.grow.distance/description.html	2008-11-16 07:00:16 UTC (rev 34315)
@@ -1,87 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-
-<em>r.grow.distance</em> generates a raster map representing the
-distance to the nearest non-null cell in the input map.
-
-<h2>NOTES</h2>
-The user has the option of specifying four different metrics which
-control the geometry in which grown cells are created, (controlled by
-the <b>metric</b> parameter): <i>Euclidean</i>, <i>Squared</i>,
-<i>Manhattan</i>, and <i>Maximum</i>.
-
-<p>
-
-The <i>Euclidean distance</i> or <i>Euclidean metric</i> is the "ordinary" distance 
-between two points that one would measure with a ruler, which can be 
-proven by repeated application of the Pythagorean theorem. 
-The formula is given by: 
-
-<div class="code"><pre>d(dx,dy) = sqrt(dx^2 + dy^2)</pre></div>
-
-Cells grown using this metric would form isolines of distance that are
-circular from a given point, with the distance given by the <b>radius</b>.
-
-<p>
-The <i>Squared</i> metric is the <i>Euclidean</i> distance squared,
-i.e. it simply omits the square-root calculation. This may be faster,
-and is sufficient if only relative values are required.
-
-<p>
-
-The <i>Manhattan metric</i>, or <i>Taxicab geometry</i>, is a form of geometry in 
-which the usual metric of Euclidean geometry is replaced by a new 
-metric in which the distance between two points is the sum of the (absolute) 
-differences of their coordinates. The name alludes to the grid layout of 
-most streets on the island of Manhattan, which causes the shortest path a 
-car could take between two points in the city to have length equal to the
-points' distance in taxicab geometry.
-The formula is given by:
-
-<div class="code"><pre>d(dx,dy) = abs(dx) + abs(dy)</pre></div>
-
-where cells grown using this metric would form isolines of distance that are
-rhombus-shaped from a given point. 
-
-<p>
-
-The <i>Maximum metric</i> is given by the formula
-
-<div class="code"><pre>d(dx,dy) = max(abs(dx),abs(dy))</pre></div>
-
-where the isolines of distance from a point are squares.
-
-
-<h2>EXAMPLE</h2>
-
-Spearfish sample dataset
-<div class="code"><pre>
-r.grow.distance in=roads out=dist_from_roads
-</pre></div>
-
-
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.grow.html">r.grow</a><br>
-<a href="r.buffer.html">r.buffer</a><br>
-<a href="r.cost.html">r.cost</a><br>
-<a href="r.patch.html">r.patch</a>
-</em>
-
-<p>
-
-<em>
-<a href="http://en.wikipedia.org/wiki/Euclidean_metric">Wikipedia Entry:
-    Euclidean Metric</a><br>
-<a href="http://en.wikipedia.org/wiki/Manhattan_metric">Wikipedia Entry:
-    Manhattan Metric</a>
-</em>
-
-
-<h2>AUTHORS</h2>
-
-Glynn Clements
-
-<p>
-<i>Last changed: $Date: 2008-11-14 16:19:59 +1300 (Fri, 14 Nov 2008) $</i>

Copied: grass/trunk/raster/r.grow.distance/r.grow.distance.html (from rev 34314, grass/trunk/raster/r.grow.distance/description.html)
===================================================================
--- grass/trunk/raster/r.grow.distance/r.grow.distance.html	                        (rev 0)
+++ grass/trunk/raster/r.grow.distance/r.grow.distance.html	2008-11-16 07:00:16 UTC (rev 34315)
@@ -0,0 +1,87 @@
+<h2>DESCRIPTION</h2>
+
+
+<em>r.grow.distance</em> generates a raster map representing the
+distance to the nearest non-null cell in the input map.
+
+<h2>NOTES</h2>
+The user has the option of specifying four different metrics which
+control the geometry in which grown cells are created, (controlled by
+the <b>metric</b> parameter): <i>Euclidean</i>, <i>Squared</i>,
+<i>Manhattan</i>, and <i>Maximum</i>.
+
+<p>
+
+The <i>Euclidean distance</i> or <i>Euclidean metric</i> is the "ordinary" distance 
+between two points that one would measure with a ruler, which can be 
+proven by repeated application of the Pythagorean theorem. 
+The formula is given by: 
+
+<div class="code"><pre>d(dx,dy) = sqrt(dx^2 + dy^2)</pre></div>
+
+Cells grown using this metric would form isolines of distance that are
+circular from a given point, with the distance given by the <b>radius</b>.
+
+<p>
+The <i>Squared</i> metric is the <i>Euclidean</i> distance squared,
+i.e. it simply omits the square-root calculation. This may be faster,
+and is sufficient if only relative values are required.
+
+<p>
+
+The <i>Manhattan metric</i>, or <i>Taxicab geometry</i>, is a form of geometry in 
+which the usual metric of Euclidean geometry is replaced by a new 
+metric in which the distance between two points is the sum of the (absolute) 
+differences of their coordinates. The name alludes to the grid layout of 
+most streets on the island of Manhattan, which causes the shortest path a 
+car could take between two points in the city to have length equal to the
+points' distance in taxicab geometry.
+The formula is given by:
+
+<div class="code"><pre>d(dx,dy) = abs(dx) + abs(dy)</pre></div>
+
+where cells grown using this metric would form isolines of distance that are
+rhombus-shaped from a given point. 
+
+<p>
+
+The <i>Maximum metric</i> is given by the formula
+
+<div class="code"><pre>d(dx,dy) = max(abs(dx),abs(dy))</pre></div>
+
+where the isolines of distance from a point are squares.
+
+
+<h2>EXAMPLE</h2>
+
+Spearfish sample dataset
+<div class="code"><pre>
+r.grow.distance in=roads out=dist_from_roads
+</pre></div>
+
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="r.grow.html">r.grow</a><br>
+<a href="r.buffer.html">r.buffer</a><br>
+<a href="r.cost.html">r.cost</a><br>
+<a href="r.patch.html">r.patch</a>
+</em>
+
+<p>
+
+<em>
+<a href="http://en.wikipedia.org/wiki/Euclidean_metric">Wikipedia Entry:
+    Euclidean Metric</a><br>
+<a href="http://en.wikipedia.org/wiki/Manhattan_metric">Wikipedia Entry:
+    Manhattan Metric</a>
+</em>
+
+
+<h2>AUTHORS</h2>
+
+Glynn Clements
+
+<p>
+<i>Last changed: $Date: 2008-11-14 16:19:59 +1300 (Fri, 14 Nov 2008) $</i>



More information about the grass-commit mailing list