[GRASS-dev] Re: [GRASS GIS] #412: add bbox check to d.rast

GRASS GIS trac at osgeo.org
Thu Dec 25 14:40:54 EST 2008


#412: add bbox check to d.rast
--------------------------+-------------------------------------------------
  Reporter:  karme        |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  trivial      |   Milestone:  6.4.0                    
 Component:  default      |     Version:  svn-develbranch6         
Resolution:               |    Keywords:                           
  Platform:  All          |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [ticket:412 karme]:

 There appear to be a couple of things wrong here:

 1. It assumes -o (or the lack of -n in 7.0). Without -o or with -n, a
 raster which doesn't overlap the current region should result in a solid
 rectangle in the map's null value colour.

 2. D_cell_draw_setup() is called unconditionally, but D_cell_draw_end() is
 only called if the raster is visible. These calls must be matched, i.e.
 either both must be called, or neither.

 Apart from that, I would suggest making the patch against 7.0.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/412#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list