[GRASS-dev] [GRASS GIS] #2380: d.legend "use" argument makes legend disappear

GRASS GIS trac at osgeo.org
Mon Jul 28 12:57:25 PDT 2014


#2380: d.legend "use" argument makes legend disappear
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Display      |     Version:  svn-trunk                
 Keywords:  d.legend     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by annakrat):

 Replying to [comment:7 cmbarton]:
 > I thought you might be right about the space, but it turns out that it
 makes no difference. The problem is when one of the numbers in the list is
 out of range. Interestingly, the error says
 >
 > "Command 'd.legend rast=shortdomestic_dates at NeolSpread
 > use=6600,6800,6900 at=5,50,7,10' failed
 > Details: use=6600 out of range [6689.075, 7299.539] (extend
 > with range= ?)"

 I would say that warning would be more appropriate than fatal error. There
 is already a warning about exceeding range which is similar case.

 >
 > The biggest problem from a user standpoint is that when the legend
 disappears and you have closed the command dialog (i.e., by pressing "OK",
 there is no way to get it back. Selecting "Show/hide legend" in the
 toolbar menu will not make the command dialog reappear. You can only fix
 it by closing the display and opening a new one. While perhaps not a bug
 per se, this is not desirable.

 Hm, for me the dialog reappears, at least in the newest GRASS version.
 What about any Python error message in the console?

 >
 >
 >

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2380#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list