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

#3150: Simple r.out.png region enhancement
-------------------------+-------------------------
Reporter: huhabla | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: Default | Version: svn-trunk
Keywords: r.out.png | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I would like to post a patch that enables direct region settings in
r.out.png. 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.

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

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

* Attachment "r.out.png.patch" added.

r.out.png region patch

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

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

* component: Default => Raster
* milestone: => 7.0.5

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

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

* milestone: 7.0.5 => 7.2.0

Comment:

Changing milestone at least to 7.2.0 (only bugfixes can go to relbr70).

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

#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&gt;
GRASS GIS <https://grass.osgeo.org>