[GRASS-dev] [GRASS GIS] #977: WxGUI "Save display to graphic file" should write out an World file

#977: WxGUI "Save display to graphic file" should write out an World file
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
     Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxgui | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Current wxgui version tool "Save display to graphic file" creates image
file without any coordinate information. As Map Canvas already has
information about extent, it would be trivial to dump that information
into world file and thus make simple screen dumps georeferenced. QGIS and
ArcGIS support such option.

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

#977: WxGUI "Save display to graphic file" should write out an World file
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgui
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * version: svn-releasebranch64 => svn-trunk
  * milestone: 6.4.0 => 7.0.0

Comment:

for the xmon version use 'd.out.file format=geotiff'.

while this is possible it is not necessarily a good idea. it should only
be used when there is a need to composite multiple layers (scalebars,
decorations, and all) into a geotiff, which is generally a solution of
last resort.

from the d.out.file mane page:
{{{
        GeoTIFF export is provided as a convenience. For
        raster export it is generally preferable to use the
        r.out.gdal or r.out.tiff modules. The advantage of
        using d.out.file is that you can easily overlay
        multiple raster maps, vector maps, and decorations
        into the GeoTIFF at the expense of resolution and
        quality. If you wish to minimize the negative
        effects, use "g.region align=" or "g.region rast=",
        then "g.region -g" or "r.info -g" to discover the
        raster rows and columns of the map, and feed these
        numbers into d.out.file's size parameter as
        columns,rows.
}}}

Hamish

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

#977: WxGUI "Save display to graphic file" should write out an World file
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgui
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by marisn):

It's not about GeoTIFFs but about writing out World file. It's a nice
meta-data add-on. It's not meant to replace proper data export for
analysis, but can serve well to keep tracks of various screen dumps.

I.e. if I want to know what (where) I was using as a sample data to create
PNG image with some random content for lectures, I can simply load that
PNG into QGIS and see it's location. Probably writing out some other meta
data according to some ISO spec would also be fine, still World file (i.e.
.pgw) is also a nice start.

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

#977: WxGUI "Save display to graphic file" should write out an World file
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxgui | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hamish):

see also #822

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/977#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>
Commonly referred to as GRASS, this is free Geographic Information System (GIS) software used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. GRASS is an official project of the Open Source Geospatial Foundation.