[GRASS-dev] [GRASS GIS] #3523: v.rast.stats: avoid multiple rasterization when run on multiple raster maps

GRASS GIS trac at osgeo.org
Tue Mar 20 08:37:34 PDT 2018


#3523: v.rast.stats: avoid multiple rasterization when run on multiple raster maps
--------------------------+--------------------------
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.6.0
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.rast.stats
       CPU:  All          |   Platform:  All
--------------------------+--------------------------

Comment (by sbl):

 One thing I would like to get a second opinion on is how to handle the
 region adjustment that v.rast.stats  currently performs. Originally,
 v.rast.stats aligns region temporarily to the input raster map (and does
 not alter extent), which of course becomes more tricky with multiple
 inputs.

 In the attached patch the region is (for the time being) aligned to the
 first raster. Options for more proper handling would be to:\\
 1) leave the current region untouched, so the user can choose resolution
 deliberately (could also become a new flag)
 2) group raster maps by pixel alignment and perform conversion from vector
 to raster for every raster group (if raster maps differ in these regards)
 3) as 2) but set extent from vector map in addition

 Suggestions?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3523#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list