[GRASS-dev] [GRASS GIS] #1838: r.mask: allow use of vector map as input

GRASS GIS trac at osgeo.org
Sat Dec 15 15:42:38 PST 2012


#1838: r.mask: allow use of vector map as input
----------------------------------+-----------------------------------------
 Reporter:  mlennert              |       Owner:  grass-dev@…              
     Type:  enhancement           |      Status:  new                      
 Priority:  normal                |   Milestone:  7.0.0                    
Component:  Raster                |     Version:  svn-trunk                
 Keywords:  mask, vector, r.mask  |    Platform:  Unspecified              
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------

Comment(by mmetz):

 Replying to [comment:1 neteler]:
 > Sounds very reasonable. Maybe they can develop the method? It will
 include
 > (perhaps) SQL select option and column selection, then the
 rasterization...

 `r.mask` got new `vector`, `layer`, `cats`, and `where` options in r54302.
 The `input` option has been renamed to `raster`.

 If you want to create a MASK from a raster map, you now need to set the
 raster option. If you want to create a MASK from a vector map, you now
 need to set the vector option. Only vector areas will be considered for
 creating a MASK from a vector.

 When a MASK is created from a raster, the extents and resolution of the
 raster map are used because r.reclass is used (that's the unchanged
 default behaviour as in GRASS 6), but when a MASK is created from a
 vector, the current region settings are used.

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1838#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list