+ 1
On Mon, May 20, 2013 at 4:32 PM, GRASS GIS <t...@osgeo.org> wrote: > #1838: r.mask: allow use of vector map as input > > --------------------------+------------------------------------------------- > Reporter: mlennert | Owner: grass-dev@… > Type: enhancement | Status: closed > Priority: normal | Milestone: 7.0.0 > Component: Raster | Version: svn-trunk > Resolution: fixed | Keywords: mask, vector, r.mask > Platform: Unspecified | Cpu: Unspecified > > --------------------------+------------------------------------------------- > > Comment(by hamish): > > To be honest, I find it hard to justify not running `v.to.rast` + r.mask > as a two step process. You either respect the current region setting, or > the v.to.rast operation is partially undefined. Having the module change > the region (and if so, internally, via WIND_OVERRIDE & the > grass.use_temp_region() python function) for any reason seems like a > slight misfeature to me. > > Consider the case that the vector is much larger than the raster (national > coastline, I'm offen making coastal "land.mask" rasters from that), you > wouldn't want to rasterize the entire country at the current raster > resolution. Of course it's possible to only shrink the region with a > little scripting work, and it could be a nice efficiency trick to do that, > but be careful that the logic for it might fail for lat/lon near the > dateline) > > > do one thing well, > Hamish > > -- > Ticket URL: <https://trac.osgeo.org/grass/ticket/1838#comment:8> > GRASS GIS <http://grass.osgeo.org> > >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev