#2355: g.mlist add parameter to check region
-------------------------+--------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.mlist | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Hi devs,
I would like to have a parameter in g.mlist to check if maps (raster,
vector ecc) are inside a region or not. It should work with the other
parameters like pattern and exclude.
The workflow could be something like this
{{{ #user save the computational region
g.region save=mytest
#launch g.mlist with mytest region
g.mlist type=rast patter=mypattern* region=mytest
}}}
In this example all the maps with pattern ''mypattern'' and inside (I
think the GIS operation could be touches, or using different one with
another parameter operator like for v.select) the region ''mytest''
#2355: g.mlist add parameter to check region
-------------------------+--------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.mlist | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by hcho):
I think if you want true "data overlap" with a region, it can take too
long to find maps inside the region depending on the number of cells or
features, the number of maps, and the size of the input region and
resolution.
If it's enough to find maps whose region overlaps with the given region,
performance will be ok, but it doesn't guarantee that selected maps have
any cells or features inside the region.
#2355: g.mlist add parameter to check region
-------------------------+--------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: g.mlist | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by lucadelu):
Replying to [comment:1 hcho]:
>
> If it's enough to find maps whose region overlaps with the given region,
performance will be ok, but it doesn't guarantee that selected maps have
any cells or features inside the region.
it's enough to find maps whose region overlaps with the given region,
after I could cut them using the computational region if needed