[GRASS-dev] [GRASS GIS] #3532: g.gui.tplot: add zonal statistics support

#3532: g.gui.tplot: add zonal statistics support
-------------------------------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Keywords: g.gui.tplot, temporal, zonal | CPU: Unspecified
  statistics |
Platform: Linux |
-------------------------------------------------+-------------------------
It would be very nice to have zonal statistics support in G7:g.gui.tplot
to get time series plots representing areas. Currently, for STRDS, only
time series of pixels are supported.

Additionally, it would be nice to have a flag/check-box to get the
standard deviation plotted as well.

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

#3532: g.gui.tplot: add zonal statistics support
-------------------------+-------------------------------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: g.gui.tplot, temporal, zonal
       CPU: | statistics
  Unspecified | Platform: Linux
-------------------------+-------------------------------------------------
Changes (by lucadelu):

* Attachment "tplot.diff" added.

First implementation, problem with gselect.ElementSelect

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

#3532: g.gui.tplot: add zonal statistics support
-------------------------+-------------------------------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: | Status: new
  enhancement |
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: g.gui.tplot, temporal, zonal
       CPU: | statistics
  Unspecified | Platform: Linux
-------------------------+-------------------------------------------------

Comment (by lucadelu):

The attached diff implements support for r.univar to calculate statistic
for a vector map used as MASK.

Right now only mean value is used because there is a problem with a
gselect.ElementSelect, the element seems to be disabled, could some one
check it, because I don't understand where is the error. I also tested
Enable function but it doesn't change the behaviour.

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