[GRASS-dev] [GRASS GIS] #3051: Allow image to be saved in Map Display even when there is no map

#3051: Allow image to be saved in Map Display even when there is no map
--------------------------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: trivial | Milestone: 7.3.0
Component: wxGUI | Version: svn-trunk
Keywords: d.legend, cartography, mapdisp | CPU: Unspecified
Platform: Unspecified |
--------------------------------------------+-------------------------
To reproduce:

1. Start GRASS GIS, add decoration, e.g. north arrow.
2. Press "Save display to file".

You will get:

{{{
Nothing to render (empty map). Operation canceled.
}}}

Expected: Image is saved to a file as when you add some raster or vector.

This is useful when you need to get the individual map decorations
separately, for example, you want to save just the legend.

The workaround now is that you add a raster map and then move with it, so
that the decorations you need are on the background, save it, and then
clip it. Alternatively, you take a screenshot.

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