[GRASS-dev] [GRASS GIS] #3017: support for background option for grid labels in d.grid

GRASS GIS trac at osgeo.org
Mon May 30 18:26:28 PDT 2016


#3017: support for background option for grid labels in d.grid
--------------------------+-------------------------------------------
  Reporter:  veroandreo   |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.3.0
 Component:  Display      |    Version:  unspecified
Resolution:               |   Keywords:  d.grid, gsoc2016, cartography
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------------------------

Comment (by annakrat):

 Replying to [comment:8 veroandreo]:
 > Hi, I'm happy to have background option in d.grid :)
 >
 > I did a quick test and I attach an example below. I noted that when
 choosing white background for grid labels, I loose part of the map in the
 east (See no-transparency in fig 1 vs transparency in fig 2). So,
 background of labels seems to be a continuous white strip for Y
 coordinate, while it's fine for X coordinate.

 I can confirm this, the size of the background rectangle still needs
 fixing, the problem showed up only in latlon for me.
 >
 > On the other hand, grid lines overlap the white background of labels,
 while IMHO, label should always be in front.

 Yes, the horizontal labels are fine, just the vertical ones are below the
 grid lines.
 >
 > I personally don't like the border tickmarks of d.grid but when
 disabling them, labels remain aligned as if there were border tickmarks
 (last fig). Maybe they could be aligned more close to the border (if not
 against it) as in ps.map.
 >
 > And, would that be possible to also change font of labels?? :)
 >
 You can do that from GUI settings - you set display font for all d.*
 commands.

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



More information about the grass-dev mailing list