[GRASS-dev] [GRASS GIS] #1263: GUI d.legend tool gives error

GRASS GIS trac at osgeo.org
Tue Jan 18 10:51:48 EST 2011


#1263: GUI d.legend tool gives error
----------------------+-----------------------------------------------------
 Reporter:  epatton   |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.5.0                    
Component:  wxGUI     |     Version:  svn-develbranch6         
 Keywords:  d.legend  |    Platform:  Linux                    
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------
 Hi, This error occurs when using the 'Add Map Elements' tool on the Map
 Display window: when the categories given in the 'use' parameter exceed
 the range of raster values in the map, the attached error is output to the
 Layer Manager.

 In the North Carloina demo location, add the elevation map to the display,
 then add a legend using the tool, and give a range of values in the 'use'
 parameter that exceeds the raster range. I used the following:
 use=50,70,90,110,125,150 (the lowest value in the map is 55)

 The module should probably exit more gracefully when values outside the
 range are given.

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1263>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list