Skip to content

Commit

Permalink
r.object.geometry: remove from addons, it is in G8 core now (#715)
Browse files Browse the repository at this point in the history
* Update src/imagery/i.segment.stats/i.segment.stats.html
  • Loading branch information
petrasovaa committed Mar 25, 2022
1 parent d831350 commit 410afa4
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 573 deletions.
15 changes: 7 additions & 8 deletions src/imagery/i.segment.stats/i.segment.stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ <h2>DESCRIPTION</h2>

<p>
Available statistics are those related to the shape, size and position of the
areas (see the <em><a href="r.object.geometry.html">r.object.geometry</a></em>
addon man page for more information on the statistics) and aggregated statistics
areas (see the <em><a href="https://grass.osgeo.org/grass-stable/manuals/r.object.geometry.html">r.object.geometry</a></em>
man page for more information on the statistics) and aggregated statistics
of pixel values of other raster maps (see
<em><a href="https://grass.osgeo.org/grass-stable/manuals/r.univar.html">r.univar</a></em> for details).

Expand Down Expand Up @@ -46,10 +46,9 @@ <h2>NOTES</h2>

<p>
This module is a simple front-end to <em><a href="https://grass.osgeo.org/grass-stable/manuals/r.univar.html">r.univar</a></em>
and the
<em><a href="r.object.geometry.html">r.object.geometry</a></em>
add-on. It is the user's responsibility to install the
latter using <em><a href="https://grass.osgeo.org/grass-stable/manuals/g.extension.html">g.extension</a></em>. If other statistics
and
<em><a href="https://grass.osgeo.org/grass-stable/manuals/r.object.geometry.html">r.object.geometry</a></em>.
If other statistics
are desired, these should probably be implemented in those (or other) modules
which can then be called from this module.

Expand Down Expand Up @@ -87,11 +86,11 @@ <h2>SEE ALSO</h2>
<em>
<a href="https://grass.osgeo.org/grass-stable/manuals/i.segment.html">i.segment</a>,
<a href="https://grass.osgeo.org/grass-stable/manuals/r.univar.html">r.univar</a>,
<a href="https://grass.osgeo.org/grass-stable/manuals/v.rast.stats.html">v.rast.stats</a>
<a href="https://grass.osgeo.org/grass-stable/manuals/v.rast.stats.html">v.rast.stats</a>,
<a href="https://grass.osgeo.org/grass-stable/manuals/r.object.geometry.html">r.object.geometry</a>
</em>
<p>
<em>
<a href="r.object.geometry.html">r.object.geometry (Addon)</a>
<a href="v.class.mlR.html">v.class.mlR (Addon)</a>
</em>

Expand Down
8 changes: 0 additions & 8 deletions src/imagery/i.segment.stats/i.segment.stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,6 @@ def main():
if (options["area_measures"] and not flags["s"])
else []
)
if area_measures:
if not gscript.find_program("r.object.geometry", "--help"):
message = _("You need to install the addon r.object.geometry to be able")
message += _(" to calculate area measures.\n")
message += _(
" You can install the addon with 'g.extension r.object.geometry'"
)
gscript.fatal(message)
neighborhood = True if flags["n"] else False
if neighborhood:
if not gscript.find_program("r.neighborhoodmatrix", "--help"):
Expand Down
10 changes: 0 additions & 10 deletions src/raster/r.object.geometry/Makefile

This file was deleted.

0 comments on commit 410afa4

Please sign in to comment.