[GRASS-dev] [GRASS GIS] #258: adding other layer than plain raster or vector (shaded relief, thematic vector etc.) returns an error

GRASS GIS trac at osgeo.org
Thu Aug 14 11:45:00 EDT 2008


#258: adding other layer than plain raster or vector (shaded relief, thematic
vector etc.) returns an error
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.0                    
Component:  wxGUI     |     Version:  svn-develbranch6         
 Keywords:            |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------
 Example - try to add a shsded relief layer - error:

 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.4.svn/etc/wxpython/wxgui.py",
 line 1311, in AddShaded

 self.curr_page.maptree.AddLayer('shaded')
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 665, in AddLayer

 self.PropertiesDialog(layer, show=True)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 741, in PropertiesDialog

 parentframe=self)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
 nuform.py", line 1589, in ParseCommand

 propwin=self.mf)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 1156, in GetOptData

 self.ChangeLayer(layer)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
 gui_utils.py", line 1244, in ChangeLayer

 l_active=chk, l_hidden=hidden, l_opacity=opac,
 l_render=False)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
 nder.py", line 990, in ChangeLayer

 layer.SetType(kargs['type']) # check type
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
 nder.py", line 220, in SetType

 raise gcmd.GStdError(_("Unsupported map layer type '%s'") %
 str(type))
 gui_modules.gcmd
 .
 GStdError
 }}}

 Same goes for rgb, his, rastarrow, thememap, themechart.

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


More information about the grass-dev mailing list