[GRASS-dev] [GRASS GIS] #1756: V.Distance Command Problem
GRASS GIS
trac at osgeo.org
Fri Oct 5 05:31:39 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
-------------------------------+--------------------------------------------
Comment(by mlennert):
Replying to [comment:2 mmetz]:
> 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.
Where do you see a table that already exists ? The table to be created is
same4. The module complains about a column 'loc_dist' that already exists
which comes from the create table statement where the creation of that
column is asked for twice:
'create table same4 (from_cat integer, to_cat integer, loc_dist double
precision, loc_dist double precision )'
And the problem goes away when the OP tries again (creating table same5),
but without using to_attr in upload. This looks exactly like #672 to me (I
didn't put the error message in #672, but it's exactly the same as you can
see if you try with grass6.)
Moritz
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1756#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list