[GRASS-dev] [GRASS GIS] #3150: Simple r.out.png region enhancement

GRASS GIS trac at osgeo.org
Fri Sep 14 14:20:00 PDT 2018


#3150: Simple r.out.png region enhancement
--------------------------+------------------------------
  Reporter:  huhabla      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  trivial      |  Milestone:  7.4.2
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.out.png region
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+------------------------------
Changes (by wenzeslaus):

 * keywords:  r.out.png => r.out.png region


Comment:

 Replying to [ticket:3150 huhabla]:
 > I would like to post a patch that enables direct region settings in
 r.out.png.

 I agree that this would come handy time to time. For example, G7:r.mapcalc
 (>=7.4) has region option to customize the region based on the inputs.
 General modifications of region, such as the one you suggest, would apply
 to many modules.

 I think this would be better addressed generally as we discussed in
 [https://lists.osgeo.org/pipermail/grass-dev/2016-September/082412.html
 Adding an expert mode to the parser] and
 [https://lists.osgeo.org/pipermail/grass-dev/2016-November/082927.html
 Passing computational region to individual commands].

 I suggest to close this as won't fix and open another ticket suggesting
 change on the library and parser level or on the level of grass.py
 covering the --exec case.

 > This patch is only useful if the current region should not be changed or
 can not be changed due to access restrictions of the mapset.

 I was also in this situation and really for outputs and rendering, even
 many GUI operations, there is no need to have any write access or
 ownership (see also #2511). The current solution for this particular use
 case and r.out.png is the GRASS_REGION environmental variable.

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



More information about the grass-dev mailing list