[GRASS-dev] [GRASS GIS] #2286: Duplicate calls to d.rast when using wx monitor and d.rast command line

GRASS GIS trac at osgeo.org
Sat May 10 07:00:05 PDT 2014


#2286: Duplicate calls to d.rast when using wx monitor and d.rast command line
---------------------+------------------------------------------------------
 Reporter:  hcho     |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  7.0.0                    
Component:  Display  |     Version:  svn-trunk                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------
 When I do
 {{{
 d.mon wx0
 d.rast elev
 }}}
 "d.rast elev" renders the raster map and saves its command to the command
 file. Then, the wx monitor calls "d.rast elev" again because it's trying
 to redraw previously added raster maps and overlay them with "elev".

 IMO, to avoid duplicate calls to d.rast, if we call d.rast from the
 command line and the selected monitor is wx, it should simply add d.rast
 commands to the command file and let the monitor handle actual drawing.

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



More information about the grass-dev mailing list