[GRASS-dev] [GRASS GIS] #3452: g.region: add layer, cat and WHERE option

#3452: g.region: add layer, cat and WHERE option
----------------------------+-------------------------
Reporter: lrntct | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.5.0
Component: Default | Version: 7.2.1
Keywords: region, vector | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
It would be nice to be able to set a region to a specific vector feature.
For example, if I have a vector map of states boundaries, and I want to do
computation on a specific state, I have to first extract the state I want,
then set the region. When working in a loop, it is a burden.

The same option has been added to r.mask (See #1838).

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

#3452: g.region: add layer, cat and WHERE option
--------------------------+----------------------------
  Reporter: lrntct | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.5.0
Component: Default | Version: 7.2.1
Resolution: | Keywords: region, vector
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by sbl):

You can do that already (though in two steps) using first v.db.select -r.
See:
https://grass.osgeo.org/grass72/manuals/v.db.select.html

Check example for:
"Print region extent of selected vector features"

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