[GRASS-dev] [GRASS GIS] #527: layer type <rastleg> is not supported yet

#527: layer type <rastleg> is not supported yet
-------------------------+--------------------------------------------------
Reporter: hellik | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/527&gt;
GRASS GIS <http://grass.osgeo.org>

#527: layer type <rastleg> is not supported yet
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by martinl):

Replying to [ticket:527 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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/527#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#527: layer type <rastleg> is not supported yet
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: wontfix | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => wontfix

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/527#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#527: layer type <rastleg> is not supported yet
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: wontfix | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------

Comment(by 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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/527#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#527: layer type <rastleg> is not supported yet
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: wontfix | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [comment:3 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/527#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>