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

GRASS GIS trac at osgeo.org
Fri May 16 02:49:30 PDT 2014


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

Comment(by mlennert):

 I strongly prefer the GRASS65 version of v.kcv, and so would support
 backporting it, with one serious remark though:


 {{{
 > g.gisenv
 GISDBASE=/data/GRASS/DATA
 LOCATION_NAME=nc_spm_08
 MAPSET=user1

 > v.info -c elev_lid792_randpts at PERMANENT
 Displaying column types/names for database connection of layer 1:
 INTEGER|cat
 DOUBLE PRECISION|value

 > v.kcv elev_lid792_randpts at PERMANENT k=10 col=partition
  100%
 ERROR: Bug: attempt to update map which is not in current mapset

  > v.info -c elev_lid792_randpts at PERMANENT
 Displaying column types/names for database connection of layer 1:
 INTEGER|cat
 DOUBLE PRECISION|value
 INTEGER|partition
 }}}

 In other words: I have just updated the attribute table of a vector map
 that is not in the current mapset. That looks like a serious breach of our
 general rules here !

 Trying the same in trunk, I get:


 {{{
 ERREUR :Vector map <elev_lid792_randpts> not found in current mapset
 }}}


 Moritz

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



More information about the grass-dev mailing list