[GRASS-dev] [GRASS GIS] #1442: GRASS 7: d.grid layout suboptimal

GRASS GIS trac at osgeo.org
Mon Sep 16 19:17:45 PDT 2013

#1442: GRASS 7: d.grid layout suboptimal
 Reporter:  neteler  |       Owner:  hamish   
     Type:  defect   |      Status:  assigned 
 Priority:  normal   |   Milestone:  7.0.0    
Component:  Display  |     Version:  svn-trunk
 Keywords:  d.grid   |    Platform:  Linux    
      Cpu:  x86-64   |  

Comment(by hamish):

 mostly fixed in trunk with r57714.

 remaining issues:

  * there's some code in plot.c and plotborder.c to pull back the east and
 southern borders by 1 display pixel, but it's not working right, sometimes
 (~50%) they are off the edge of the window. I presume it's another +0.5
 pixel thing and had a try at fixing it, but no luck. (grid lines too, but
 if present the border hides those sins)

  * geogrid (-g) lines are not clipped to frame (at least with the lines of
 longitude crossing the western and northern region border). How to make
 D_line_abs() clipped by the region box? (plot.c line 288)

 also it would be nice if latitude and northing text which would cross or
 exceed the region frame would be clipped to it, or not rendered at all.


Ticket URL: <http://trac.osgeo.org/grass/ticket/1442#comment:6>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list