[GRASS-dev] [GRASS GIS] #672: v.distance -a with upload=to_attr and table= option: problems in table creation and value upload

GRASS GIS trac at osgeo.org
Wed Jul 1 17:04:14 EDT 2009


#672: v.distance -a with upload=to_attr and table= option: problems in table
creation and value upload
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.0                    
Component:  Vector       |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 When trying to create a distance matrix and upload that to a table, I've
 stumbled upon what seems to be a very old bug in v.distance:

 1) The table cannot be created because of a missing TO_ATTR: case in the
 switch statement in vector/v.distance/main.c, line 790.

 2) Even when such a TO_ATTR: case is added, the column in the new table is
 filled with NULL values. I have not been able, yet, to figure out where
 this problem comes from.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/672>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list