[GRASS-dev] d.mon x0 (substitution) in wingrass (i.spectral)?

Helmut Kudrnovsky hellik at web.de
Wed Nov 28 12:26:34 PST 2012


[please keep in mailing list that other can benefit of the solution]

the example in the i.spectral-manual is:
[http://grass.osgeo.org/grass64/manuals/i.spectral.html]

   g.region rast=lsat7_2002_10 -p
   d.mon x0
   d.rast lsat7_2002_40
   i.spectral -i rast=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70

testing this example in osgeo4w-wingrass6.4.3svn, it says "ERROR: No graphic device open (d.mon)",  

AFAIU d.mon x0 isn't available, therefore also " 'd.mon' not yet implemented in the WxGUI".

the d.mon-manual says that other drivers are available, e.g. d.mon start=PNG, but also the message 'd.mon' not yet implemented in the WxGUI".
[http://grass.osgeo.org/grass64/manuals/pngdriver.html]

otherwise in the wx-commandline this works:

d.mon --help                                                                    
Description:
 To establish and control use of a graphics display monitor.
Keywords:
 display
Usage:
 d.mon [-lLprs] [start=string] [stop=string] [select=string]
   [unlock=string] [--verbose] [--quiet]
Flags:
  -l   List all monitors
  -L   List all monitors (with current status)
  -p   Print name of currently selected monitor
  -r   Release currently selected monitor
  -s   Do not automatically select when starting
 --v   Verbose module output
 --q   Quiet module output
Parameters:
   start   Name of graphics monitor to start
    stop   Name of graphics monitor to stop
  select   Name of graphics monitor to select
  unlock   Name of graphics monitor to unlock
(Wed Nov 28 21:23:12 2012) Command finished (0 sec)     

- any idea how to start for example d.mon start=PNG (or other driver working in windows)?
- any idea how i.spectral could work in windows?

best regards
Helmut

>Gesendet: Mittwoch, 28. November 2012 um 11:26 Uhr
>Von: "SWAPAN GHOSH" 
>An: 
>Cc: grass-user <grass-user at lists.osgeo.org>
>Betreff: Re: Error in windows version of i.spectral
>
>Hi,
>
>Do you have complete solution for i.spectral in windows. Before, you telling I am trying, installing gnuplot and set the path variable. But still there prob >with d.mon. 
>
>I need this command very much. If you have any alternative solution then suggest me. As I need spectral responses in user specified region.
>
>Thanks & Regards,
>
>Swapan
>
>Date: Mon, 26 Nov 2012 03:55:11 -0800 (PST)
>From: Helmut Kudrnovsky <hellik at web.de>
>>To: grass-user at lists.osgeo.org[grass-user at lists.osgeo.org]
>Subject: Re: [GRASS-user] Error in windows version of i.spectral
>Message-ID: <1353930911864-5018732.post at n6.nabble.com[1353930911864-5018732.post at n6.nabble.com]>
>Content-Type: text/plain; charset=us-ascii
>
>>i.spectral is not running under windows version grass. I use here Grass 6.4
>for windows.
>>How I can fix the problem. If there is any other alternative for windows
>then suggest me
>>or fix the error for i.spectral.
>>
>>i.spectral works fine for linux but I need it for windows.
>
>gnuplot [1] is needed for i.spectral, but gnuplot isn't part of
>osgeo4w-wingrass/wingrass-standalone
>
>try
>
>- install gnuplot from [1]
>- put path/to/gnuplot in %PATH%
>
>
>
>[1] http://www.gnuplot.info/[http://www.gnuplot.info/]




More information about the grass-dev mailing list