[GRASS-dev] [GRASS GIS] #719: v.edit tool=break: breaking more then 6 coords and producing of an unexpected line

GRASS GIS trac at osgeo.org
Tue Dec 24 03:12:36 PST 2013


#719: v.edit tool=break:  breaking more then 6 coords and producing of an
unexpected line
-------------------------------+--------------------------------------------
 Reporter:  achim              |       Owner:  martinl         
     Type:  defect             |      Status:  assigned        
 Priority:  major              |   Milestone:  6.5.0           
Component:  Vector             |     Version:  svn-develbranch6
 Keywords:  v.edit tool=break  |    Platform:  Unspecified     
      Cpu:  Unspecified        |  
-------------------------------+--------------------------------------------

Comment(by GG1234):

 I extracted the commands from the python script I use. Here it is :

 {{{
 def montest():
         print g.run_command('v.patch', quiet=True, overwrite=True, input =
 ("Support_2","Raccos"), output="network")
         file = open('Conn_Pt2.txt', 'r')
         resultatParse = file.read()
         file.close()
         resultat = resultatParse.split("\n")
         for macoord in resultat[1:]:
                 print "braking at point "+macoord
                 print g.run_command('v.edit', map = "network", layer=1,
 tool = 'break', coords = macoord, thresh=1 ,overwrite=True)
 }}}

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



More information about the grass-dev mailing list