[GRASS-dev] [GRASS GIS] #3449: Diagonal cells not treated properly with r.reclass.area and minarea

#3449: Diagonal cells not treated properly with r.reclass.area and minarea
---------------------+-------------------------
Reporter: mankoff | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.4.0
Component: Parser | Version: 7.2.2
Keywords: | CPU: Unspecified
Platform: All |
---------------------+-------------------------
Discussion: http://osgeo-org.1560.x6.nabble.com/making-sense-of-r-reclass-
area-td5342391.html

Issue according to Markus Metz:

With method=rmarea, r.reclass converts the raster clumps to vector areas.
That single cell in your example below, that either belongs to the larger
clump 1 (with -d) or forms a separate clump 2 (without -d) will always be
a separate small vector area (topology or not does not matter here) and
thus will always be removed independent of the 2-cell clump. The vector
approach is thus not working here as expected.

Suggested solution:

1) The "-d" flag should not be valid when "rmarea" option is set.

2) Documentation should be updated to reflect this

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3449&gt;
GRASS GIS <https://grass.osgeo.org>