[GRASS-dev] Re: [GRASS GIS] #1222: v.rast.stats returns error: global name 'vector' is not defined

GRASS GIS trac at osgeo.org
Sat Nov 27 03:16:54 EST 2010


#1222: v.rast.stats returns error: global name 'vector' is not defined
--------------------------+-------------------------------------------------
 Reporter:  akbgf         |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  7.0.0                    
Component:  Vector        |     Version:  unspecified              
 Keywords:  v.rast.stats  |    Platform:  Linux                    
      Cpu:  x86-32        |  
--------------------------+-------------------------------------------------

Comment(by mmetz):

 I have made some more changes:

 * input vector key changed to vector, as in 6.x

 * the temporary region is now aligned to the raster instead of just
 setting the region resolution to the raster, avoiding grid shifts and
 slightly inaccurate results

 * -nan is now converted to NULL and not left as -nan (-nan can sometimes
 occur)

 * the table key column is no longer hardcoded to cat, instead the actual
 table key column is used

 * speed up by using the zonal functionality of r.univar (number of
 categories times faster)

 Markus M

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



More information about the grass-dev mailing list