[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
Mon Dec 23 08:20:43 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 martinl):

 Replying to [comment:1 achim]:
 > 2/2
 >
 > has to do with direction of line. If line direction is flipped,
 everything is done alright.
 >
 > Guess, it has to do with " Vect_append_point" in lines 94, 106, which
 add a line to the last! one.?

 hopefully fixed in r58512 (devbr6).

 The command breaks both lines (1 and 2)

 {{{
 v.edit map=network tool=break coords=33.6708333333333,16.9041666666667
 }}}

 You want probably break only line with id 1

 {{{
 v.edit map=network tool=break coords=33.6708333333333,16.9041666666667
 id=1
 }}}

 Another option would be to break lines on intersections

 {{{
 v.clean in=network out=network_break tool=break
 }}}

 or

 {{{
 v.edit map=network tool=break id=1-9999
 }}}

 assuming that the map has less them 10e3 lines.

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



More information about the grass-dev mailing list