[GRASS-dev] d.correlate not working

Rashad M mohammedrashadkm at gmail.com
Sun Jan 13 20:34:20 PST 2013


it worked using command layer

There should be some an option to use d.correlate in the other way too
d.mon wx0
d.correlate .....


On Sun, Jan 13, 2013 at 9:49 PM, Anna Kratochvílová
<kratochanna at gmail.com>wrote:

> On Sat, Jan 12, 2013 at 10:43 AM, Rashad M <mohammedrashadkm at gmail.com>
> wrote:
> > using:
> > grass  7.0
> > revision:54601
> >
> >
> > d.correlate is not working
> >
> > To reproduce
> > d.mon wx0
> > d.correlate map=lsat5_1987_10,lsat5_1987_20
> >
> > error:
> >
> > GRASS_INFO_WARNING(25298,1): Illegal filename
> > <landsat,lsat5_1987_20 at landsat>. Character <,> not allowed.
> >
> > GRASS_INFO_END(25298,1)
> >
> > GRASS_INFO_WARNING(25314,1): Illegal filename
> > <landsat,lsat5_1987_20 at landsat>. Character <,> not allowed.
> >
> > GRASS_INFO_END(25314,1)
> > Traceback (most recent call last):
> >   File
> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py",
> > line 1358, in Notify
> >     self.notify()
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/main.py", line
> > 290, in watcher
> >     self.mapFrm.GetMap().GetLayersFromCmdFile()
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/main.py", line
> > 102, in GetLayersFromCmdFile
> >     self.AddLayer(ltype = ltype, command = cmd, active = False, name =
> name)
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/render.py", line
> > 1042, in AddLayer
> >     active = active, hidden = hidden, opacity = opacity)
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/render.py", line
> 339,
> > in __init__
> >     active, hidden, opacity)
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/render.py", line
> 88,
> > in __init__
> >     self.SetType(ltype)
> >   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/core/render.py", line
> 268,
> > in SetType
> >     raise GException(_("Unsupported map layer type '%s'") % ltype)
> > core.gcmd.GException: Unsupported map layer type 'None'
> >
> >
>
> Some of d. commands are not supported yet in wxGUI but at least you
> can try to add them as a command layer in Layer Manager, it is in the
> 'Add grid or vector overlays' (perhaps it should be 'Add miscellaneous
> overlays').
>
> Anna
>
> > --
> > Regards,
> >    Rashad
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130114/6680062d/attachment.html>


More information about the grass-dev mailing list