[GRASS-dev] [GRASS GIS] #1756: V.Distance Command Problem

GRASS GIS trac at osgeo.org
Fri Oct 5 04:07:23 PDT 2012


#1756: V.Distance Command Problem
-------------------------------+--------------------------------------------
  Reporter:  scorpionlegend92  |       Owner:  grass-dev@…                             
      Type:  defect            |      Status:  closed                                  
  Priority:  normal            |   Milestone:  6.4.3                                   
 Component:  Default           |     Version:  6.4.2                                   
Resolution:  duplicate         |    Keywords:  v.distance, attribute of nearest feature
  Platform:  MSWindows 7       |         Cpu:  Unspecified                             
-------------------------------+--------------------------------------------
Changes (by mmetz):

  * priority:  critical => normal


Comment:

 Replying to [comment:1 mlennert]:
 > If I'm not mistaken, this is a duplicate of #672.

 I think this is a different issue. Here, the table given with the table
 option already exists, but the module wants to create a new table. This is
 why the module fails.

 In this case, overwriting the table (delete, then create anew) would be
 dangerous because the original table can be attached to an existing
 vector, resulting in loss of attributes for that vector.

 Therefore I would rather check the table option for v.distance -a earlier
 and print a more useful message, asking the user to use a table name that
 does not yet exist. Decreasing priority.

 Markus M

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



More information about the grass-dev mailing list