[GRASS-dev] [GRASS GIS] #2035: v.kcv optimization

GRASS GIS trac at osgeo.org
Thu Jul 18 02:02:15 PDT 2013


#2035: v.kcv optimization
-------------------------+--------------------------------------------------
 Reporter:  mmetz        |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Vector       |     Version:  svn-trunk                
 Keywords:  v.kcv        |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Some comments on the patch:

 The patch makes sense to me and is indeed a substantial speed improval.
 However, partitions were confused with categories. The patch was written
 in C++ style, but the module is a C module. I made further changes to the
 patch: the attribute table of current vector is modified instead of
 creating a new vector, giving a further speed-up. The vector is opened
 without topology, that makes it easier for larger point clouds. Updating
 the database uses db_[begin|commit]_transaction(), giving a further speed-
 up.

 Thanks for your contribution!

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



More information about the grass-dev mailing list