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

Comment(by mlennert):

 Replying to [comment:7 scorpionlegend92]:
 > This problem is still appearing in 6.4.3svn version.

 Did you do a fresh checkout and recompile of v.distance ? This was fixed 4
 days ago.

 > Following error appears:
 >
 > v.distance -a --overwrite from=PERN@PERMANENT to=AKDNCombine@PERMANENT
 > to_type=point,line output=distancecheck9 upload=cat,dist,to_attr
 column=cat,ping11,name to_column=name table=dist9
 > DBMI-DBF driver error:
 > Column 'ping11' already exists (duplicate name)
 > Cannot create table.
 > Error in db_execute_immediate()
 > ERROR: Unable to create table: 'create table dist9 (from_cat integer,
 cat integer, ping11 double precision, ping11 double precision )'
 > (Tue Oct 09 12:58:25 2012) Command finished (12 sec)
 >
 > Please check and confirm.

 I can't reproduce this. Using the NC demo data:

 g.copy vect=hospitals,myhosp
 v.distance from=myhosp to=myhosp upload=cat,dist,to_attr to_column=CANCER
 column=to_cat,dist,to_cancer table=my_test_table -a

 works as expected both with dbf and sqlite backend, creating the table
 my_test_table with the three columns.

 Can you try to reproduce with the NC data ?

 If you have the very latest 6.4.3svn version installed, maybe this could
 be a specific windows issue ?

 Moritz

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to