[GRASS-dev] [GRASS GIS] #919: add a layer selector to r.region

#919: add a layer selector to r.region
-------------------------+--------------------------------------------------
Reporter: timmie | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
r.region has the option to adapt the region boundaries to raster or vector
layers in the "option" tag.

Currently, users are forced to enter the layer name manually.

Please add a drop-down box here.

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

#919: add a layer selector to r.region
--------------------------+-------------------------------------------------
  Reporter: timmie | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Raster | Version: svn-releasebranch64
Resolution: | Keywords: r.region
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by hamish):

  * component: default => Raster
  * platform: Unspecified => All
  * version: unspecified => svn-releasebranch64
  * keywords: => r.region
  * type: defect => enhancement
  * cpu: Unspecified => All

Comment:

{{{
+ parm.raster->gisprompt = "old,cell,raster";
}}}

should do it. but better would to use G_standard_option()s for
map,raster,align and vector map options. and perhaps region and 3dview
too?

Hamish

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

#919: add a layer selector to r.region
--------------------------+-------------------------------------------------
  Reporter: timmie | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Raster | Version: svn-releasebranch64
Resolution: | Keywords: r.region
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [comment:1 hamish]:

> but better would to use G_standard_option()s for map,raster,align and
vector map options.

Done in r40902.

> and perhaps region and 3dview too?

There aren't standard options for these, but I've added ->gisprompt
settings for them (copied from g.region).

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

#919: add a layer selector to r.region
--------------------------+-------------------------------------------------
  Reporter: timmie | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: Raster | Version: svn-releasebranch64
Resolution: fixed | Keywords: r.region
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

Backported to 6.5 and 6.4. Closing (feel free to reopen if needed).

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