[GRASS-dev] [GRASS GIS] #3156: Cannot export GRASS raster map using r.out.png (crashes on windows)

GRASS GIS trac at osgeo.org
Fri Sep 14 12:46:47 PDT 2018


#3156: Cannot export GRASS raster map using r.out.png (crashes on windows)
----------------------+---------------------------------------------
  Reporter:  spawley  |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:  7.0.7
 Component:  Raster   |    Version:  7.0.4
Resolution:           |   Keywords:  r.out.png, wingrass, g.ppmtopng
       CPU:  x86-64   |   Platform:  MSWindows 7
----------------------+---------------------------------------------

Comment (by wenzeslaus):

 Replying to [comment:18 mmetz]:
 > Replying to [comment:17 mmetz]:
 > > Replying to [comment:16 wenzeslaus]:
 > > > [...] Perhaps it was just considered to be superseded by r.out.gdal?
 > >
 > > r.out.png and r.out.tiff create something like a screenshot using the
 current region settings: the output contains only coloring information.
 This can be changed with r.colors.
 > >
 > > r.out.gdal exports cell values using the current region settings: the
 output contains the original cell values.
 > >
 > > r.out.png and r.out.tiff have been superseeded by the button to "Save
 display to file" in the map display.
 >
 > Not exactly, "Save display to file" does not produce a georeferenced
 screenshot, while r.out.tiff and r.out.png do produce a georeferenced
 screenshot.

 Thank you for clarification. That's exactly how I used r.out.png, to
 create something like a "georeferenced screenshot".

 Than it is clear that "Save display to file" is not a good replacement
 because it is not georeferenced and it is not a module. The georeferencing
 could be added. I think there is even a ticket for that. However, using it
 as module is not possible, although d.out.file is pretty close.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3156#comment:19>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list