[GRASS-SVN] r69987 - grass-addons/grass7/raster/r.object.geometry

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 3 13:38:19 PST 2016


Author: martinl
Date: 2016-12-03 13:38:19 -0800 (Sat, 03 Dec 2016)
New Revision: 69987

Modified:
   grass-addons/grass7/raster/r.object.geometry/r.object.geometry.html
Log:
r.object.geometry: manual syntax cosmetics

Modified: grass-addons/grass7/raster/r.object.geometry/r.object.geometry.html
===================================================================
--- grass-addons/grass7/raster/r.object.geometry/r.object.geometry.html	2016-12-03 21:29:30 UTC (rev 69986)
+++ grass-addons/grass7/raster/r.object.geometry/r.object.geometry.html	2016-12-03 21:38:19 UTC (rev 69987)
@@ -2,52 +2,50 @@
 
 <p>
 <em>r.object.geometry</em> calculates form statistics of raster objects
-in the <em>input</em> map and writes it to the <em>output</em> text file
+in the <b>input</b> map and writes it to the <b>output</b> text file
  (or standard output if no output filename or '-' is given),
-with fields separated by the chosen <em>separator</em>.  Objects are defined
+with fields separated by the chosen <b>separator</b>.  Objects are defined
  as clumps of adjacent cells with the same category value (e.g. output of 
-<a href="r.clump.html">r.clump</a> or <a href="i.segment.html">i.segment</a>).
+<em><a href="r.clump.html">r.clump</a></em> or <em><a href="i.segment.html">i.segment</a></em>).
 
 <p>
 By default, values are in pixels. If values in meters is desired, the user
-can set the <em>-m</em> flag.
+can set the <b>-m</b> flag.
 
 <p>
 Statistics currently calculated are exactly the same as in
-<a href="v.to.db.html">v.to.db</a> (except for compact_square):
+<em><a href="v.to.db.html">v.to.db</a></em> (except for compact_square):
 
 <ul>
 <li>area</li>
 <li>perimeter</li>
-<li>compact_square ( compactness compared to a square: 
-	compact_square = 4 * sqrt(area) / perimeter )
-<li>compact_circle ( compactness compared to a circle: 
-	compact_circle = perimeter / ( 2 * sqrt(PI * area) ) )</li>
-<li>fractal dimension ( fd = 2 * ( log(perimeter) / log(area + 1) ) )<li>
+<li>compact_square (compactness compared to a square: 
+  <tt>compact_square = 4 * sqrt(area) / perimeter</tt>)
+<li>compact_circle (compactness compared to a circle: 
+  <tt>compact_circle = perimeter / ( 2 * sqrt(PI * area) )</tt>)</li>
+<li>fractal dimension ( <tt>fd = 2 * ( log(perimeter) / log(area + 1) )</tt> )</li>
 </ul>
 
-More statistics might be added in the future.
-
 <h2>NOTES</h2>
 
+More statistics might be added in the future.
 
-<h2>EXAMPLES</h2>
+<h2>EXAMPLE</h2>
 
 <div class="code"><pre>
-g.region rast=soilsID
-r.object.geometry soilsID out=soils_geom
+g.region raster=soilsID
+r.object.geometry input=soilsID output=soils_geom.txt
 </pre></div>
 
-
 <h2>SEE ALSO</h2>
 
 <em>
 <a href="i.segment.html">i.segment</a>,
 <a href="r.clump.html">r.clump</a>,
-<a href="v.to.db.html">v.to.db</a>,
+<a href="v.to.db.html">v.to.db</a>
 </em>
 
-<h2>AUTHOR</h2>
+<h2>AUTHORS</h2>
 
 Moritz Lennert<br>
 Markus Metz (diagonal clump tracing)



More information about the grass-commit mailing list