Opened 8 years ago
Last modified 6 years ago
#3150 new enhancement
Simple r.out.png region enhancement
Reported by: | huhabla | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 7.6.2 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.out.png region | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
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.
Attachments (1)
Change History (12)
by , 8 years ago
Attachment: | r.out.png.patch added |
---|
comment:1 by , 8 years ago
Component: | Default → Raster |
---|---|
Milestone: | → 7.0.5 |
comment:2 by , 8 years ago
Milestone: | 7.0.5 → 7.2.0 |
---|
Changing milestone at least to 7.2.0 (only bugfixes can go to relbr70).
comment:4 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:5 by , 7 years ago
Milestone: | 7.2.2 → 7.4.0 |
---|
All enhancement tickets should be assigned to 7.4 milestone.
comment:7 by , 7 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:8 by , 6 years ago
Keywords: | region added |
---|
Replying to 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 Adding an expert mode to the parser and 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.
comment:9 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
r.out.png region patch