[GRASS-dev] [GRASS GIS] #3013: support background and border for d.legend

GRASS GIS trac at osgeo.org
Sun Jun 12 11:09:06 PDT 2016


#3013: support background and border for d.legend
-------------------------+-------------------------------------------------
  Reporter:  annakrat    |      Owner:  grass-dev@…
      Type:              |     Status:  new
  enhancement            |
  Priority:  normal      |  Milestone:  7.3.0
 Component:  Display     |    Version:  svn-trunk
Resolution:              |   Keywords:  d.legend, background, gsoc2016,
       CPU:              |  cartography
  Unspecified            |   Platform:  All
-------------------------+-------------------------------------------------

Comment (by lazaa):

 I added {{{-b}}} flag to display legend background. Then {{{brdcolor}}} to
 choose border color. So far it works only for non-categoric rasters and
 displays only border color but no background. I draw background at the end
 of the script when I know position of legend, title and all labels at the
 display. But when I want draw background, the background rectangular
 overlaps all. Is there any option how to define not to overlap other
 lines? Or the only solution is to draw background rectangular first?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3013#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list