[GRASS-dev] [GRASS GIS] #1567: Map display: saving image with scale and legend

#1567: Map display: saving image with scale and legend
-----------------------+----------------------------------------------------
Reporter: helena | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: All
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------
when saving image from map display that includes scale and legend,
everything is saved correctly when the default setting is used,
but when a template (pre-set image size) is used scale and legend either
is not included
http://skagit.meas.ncsu.edu/~helena/grasswork/saveimg_test4.png
http://skagit.meas.ncsu.edu/~helena/grasswork/saveimg_test5.png
or it is not scaled properly.
See also
http://lists.osgeo.org/pipermail/grass-user/2011-November/062601.html

Helena

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1567&gt;
GRASS GIS <http://grass.osgeo.org>

#1567: Map display: saving image with scale and legend
-----------------------+----------------------------------------------------
Reporter: helena | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: All
      Cpu: OSX/Intel |
-----------------------+----------------------------------------------------

Comment(by hamish):

Replying to [ticket:1567 helena]:
> or it is not scaled properly.

fwiw,

barscale and legend on the display monitors are rendered using a fixed
number of pixels for height etc. They aren't designed to scale, they're
designed to be seen on a screen at the present resolution. try also
d.out.file with a command prompt driven Xmon.

for hardcopy output which scales well for posters or journal figures use
ps.map/try out the new Cartographic Composer; for web graphics and
screenshots I usually use `xwd` or the GIMP's screenshot tool.

Ideally the wxGUI would add legend and barscale commands into the layer
tree; you can get them to survive the export to a graphics file if you add
them manually there as command layers (hidden in the `Add grid of vector
labels overlay` drop down icon menu [any ideas on what to rename that
tooltip?]).

the current wxgui slippy overlay method always seemed a bit odd to me.
(but it mostly works)

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1567#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1567: Map display: saving image with scale and legend
--------------------------------------+-------------------------------------
Reporter: helena | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2 RCs
Keywords: map display, decorations | Platform: All
      Cpu: OSX/Intel |
--------------------------------------+-------------------------------------
Changes (by annakrat):

  * keywords: => map display, decorations

Comment:

The decorations were rerendered (with the given size) but they weren't
used. Try r50721 in trunk, also backported to 6.5

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1567#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1567: Map display: saving image with scale and legend
---------------------+------------------------------------------------------
  Reporter: helena | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2 RCs
Resolution: fixed | Keywords: map display, decorations
  Platform: All | Cpu: OSX/Intel
---------------------+------------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

The change is in all branches and seems to work.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1567#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>