Ticket #1567 (closed defect: fixed)

Opened 17 months ago

Last modified 10 months ago

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:
Platform: All CPU: OSX/Intel

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

in reply to: ↑ description   Changed 17 months ago by hamish

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

  Changed 17 months ago by annakrat

  • 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

  Changed 10 months ago by annakrat

  • status changed from new to closed
  • resolution set to fixed

The change is in all branches and seems to work.

Note: See TracTickets for help on using tickets.