[GRASS-dev] [GRASS GIS] #2899: d.histogram launched from map display toolbar doesn't work

GRASS GIS trac at osgeo.org
Mon Feb 8 23:59:16 PST 2016


#2899: d.histogram launched from map display toolbar doesn't work
--------------------------+------------------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.4
 Component:  wxGUI        |    Version:  svn-trunk
Resolution:               |   Keywords:  d.histogram, rendering
       CPU:  Unspecified  |   Platform:  All
--------------------------+------------------------------------

Comment (by mlennert):

 Replying to [comment:3 wenzeslaus]:
 > Replying to [comment:2 neteler]:
 > > I wonder if we still want to keep this old histogram tool in the layer
 manager menu
 > > or just remove it from there? The currently two menu entries are a bit
 confusing.
 >
 > I actually prefer the d.histogram-based tool. It does not have the
 potential for interactivity as the wxPython-based but it uses raster's
 color table and fills the bars which the wxPython-based currently does
 not.

 How difficult would it be to implement this in the wx version ? I agree
 that this is a very nice feature, even though more generally I prefer the
 new tool for its interactivity, but also, for example for the capacity to
 show several histograms at once.

 > Also the tools supports more the CLI-Python-GUI convergence.

 Yes. That is an important point. Would it be possible to isolate the wx
 version as a g.gui.histogram tool and then allow directly drawing the
 results without interaction (i.e. with GRASS_RENDER_IMMEDIATE=TRUE) ?

 > However, I agree that two histogram items are not ideal.
 >
 > Also, I tested the older revisions and it seems that r65205 broke the
 histogram (same as #2857).
 >
 > BTW, the wxPython-based histogram currently does not work for me with
 wxPython 3.0.2.0 (#2558).

 As long as #2558, please do not remove d.histogram. It's been the only way
 to do histograms for me for quite a while...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2899#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list