Opened 16 years ago

Closed 15 years ago

Last modified 11 years ago

#527 closed defect (wontfix)

layer type <rastleg> is not supported yet

Reported by: hellik Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: wxGUI Version: 6.4.0 RCs
Keywords: Cc:
CPU: Unspecified Platform: MSWindows Vista

Description

osgeo4w (2008/02/08):

grass64rc3-2

GDAL 1.5.4, released 2009/01/07

data

nc_spm_08

#landforms: entire region from 10m resolution DEM, 90m neighborhood (from http://skagit.meas.ncsu.edu/~helena/grasswork/grassbookdat07/ncexternal/grasstestrast.txt)

g.region rast=elevation d.erase r.param.scale input=elevation output=feature9c_10m size=9 param=feature d.rast feature9c_10m d.legend -c feature9c_10m at=1,30,1,3


error message pop up:

"<1,30,1,3>:layer type <rastleg> is not supported yet!


Traceback (most recent call last):

File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu

i_modules\wxgui_utils.py", line 204, in OnIdle

self.mapdisplay.MapWindow.UpdateMap(render=True)

File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu

i_modules\mapdisp.py", line 703, in UpdateMap

windres=windres)

File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu

i_modules\render.py", line 907, in Render

self._renderLayers(force, mapWindow, maps, masks, opacities)

File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu

i_modules\render.py", line 852, in _renderLayers

if not layer.Render():

File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu

i_modules\render.py", line 127, in Render

{'type' : self.type, 'name' : self.name}) gui_modules.gcmd . GStdError

Change History (4)

in reply to:  description comment:1 by martinl, 16 years ago

Replying to hellik:

> d.erase
...
> d.legend -c feature9c_10m at=1,30,1,3

These commands are not supposed to work from wxGUI cmd line. Use relevant functions from Map Display Window.

comment:2 by martinl, 15 years ago

Resolution: wontfix
Status: newclosed

comment:3 by wenzeslaus, 11 years ago

Just for the record, d.legend now works from wxGUI command console at least in GRASS 7 (r58287).

d.legend map=elevation

Note that map= needs to be specified.

Moreover, d.legend works also as command layer.

in reply to:  3 comment:4 by hellik, 11 years ago

Replying to wenzeslaus:

Just for the record, d.legend now works from wxGUI command console at least in GRASS 7 (r58287).

d.legend map=elevation

Note that map= needs to be specified.

Moreover, d.legend works also as command layer.

also just for the record:

System Info                                                                     
GRASS Version: 6.4.4svn                                                         
GRASS SVN Revision: 58275                                                       
GIS Library Revision: 50937 (2012-02-25)                                        
GDAL/OGR: 1.10.1                                                                
PROJ4: Rel. 4.8.0, 6 March 2012                                                 
Python: 2.7.4                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)                                 
d.legend map=elevation

works also here

Note: See TracTickets for help on using tickets.