[GRASS-dev] [GRASS GIS] #2768: v.rast.stats: NULL values for very small areas

#2768: v.rast.stats: NULL values for very small areas
---------------------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Keywords: v.rast.stats, small areas | CPU: Unspecified
Platform: Unspecified |
---------------------------------------+-------------------------
`v.rast.stats` uploads NULL values for areas which are smaller that
computation region resolution (ie. fits completely into one cell), see
attachment:v-rast-stats-null.png - region grid in black, red lines for
area of given category. In this case `v.rast.stats` uploads NULL values.

It would be nice to implement a flag which would upload given values
instead of NULLs.

See related discussion on ML: https://lists.osgeo.org/pipermail/grass-
dev/2015-October/076654.html

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

#2768: v.rast.stats: NULL values for very small areas
--------------------------+---------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, small areas
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by martinl):

* Attachment "v-rast-stats-null.png" added.

v.rast.stats very small areas

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

#2768: v.rast.stats: NULL values for very small areas
--------------------------+---------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, small areas
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by martinl):

* milestone: 7.6.2 => 7.8.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2768#comment:10&gt;
GRASS GIS <https://grass.osgeo.org>

#2768: v.rast.stats: NULL values for very small areas
--------------------------+---------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.3
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, small areas
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------

Comment (by sbl):

https://github.com/OSGeo/grass/pull/402 should fix this...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2768#comment:15&gt;
GRASS GIS <https://grass.osgeo.org>

#2768: v.rast.stats: NULL values for very small areas
--------------------------+---------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.3
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, small areas
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------

Comment (by sbl):

Fixed by merging
https://github.com/OSGeo/grass/pull/402
(https://github.com/OSGeo/grass/commit/b5075fab32e8507c5ca9db0d1d32c29bade4580d).
Should be probably backported...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2768#comment:16&gt;
GRASS GIS <https://grass.osgeo.org>