Opened 12 years ago

Closed 12 years ago

#1567 closed defect (fixed)

Map display: saving image with scale and legend

Reported by: helena Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: wxGUI Version: 6.4.2 RCs
Keywords: map display, decorations Cc:
CPU: OSX/Intel Platform: All

Description

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

Change History (3)

in reply to:  description comment:1 by hamish, 12 years ago

Replying to 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

comment:2 by annakrat, 12 years ago

Keywords: map display decorations added

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

comment:3 by annakrat, 12 years ago

Resolution: fixed
Status: newclosed

The change is in all branches and seems to work.

Note: See TracTickets for help on using tickets.