#719: v.edit tool=break: breaking more then 6 coords and producing of an
unexpected line
-------------------------------+--------------------------------------------
Reporter: achim | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Keywords: v.edit tool=break | Platform: Unspecified
Cpu: Unspecified |
-------------------------------+--------------------------------------------
1/2
using v.edit tool=break results for more than 6 coordinates in an error:
"Attempt to delete dead feature".
after error message the topology of vector-file is destroyed:
WARNING: Size of 'coor' file differs from value saved in topology file
WARNING: Please rebuild topology for vector map
two equal coordinates result in an error, too
----
2/2
breaking a line returns three(!) lines: the two desired and one straight
connecting the breaking point and the end or start point of the input-line
#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
Resolution: | Keywords: v.edit tool=break
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by martinl):
Replying to [ticket:719 achim]:
> 1/2
>
> using v.edit tool=break results for more than 6 coordinates in an error:
"Attempt to delete dead feature".
>
> after error message the topology of vector-file is destroyed:
> WARNING: Size of 'coor' file differs from value saved in topology file
> WARNING: Please rebuild topology for vector map
>
> two equal coordinates result in an error, too
>
> ----
>
> 2/2
>
> breaking a line returns three(!) lines: the two desired and one straight
connecting the breaking point and the end or start point of the input-line
Can you attach testing data to the ticket (e.g. in GRASS ASCII format -
v.out.ascii format=standard) and exact commands to reproduce buggy
behaviour of v.edit? Thanks. Martin
#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):
Hello all,
I am having the same unexpected additional lines when I brake lines of my
map. Is there any hope for this ticket to be resolved in a near future or
should I find a workaround ?
Has anybody ideas of workarounds ? I tried on PostGis with the ST_Split
function but wasn't lucky at using it, and I would rather stay in GRASS if
possible.
#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:6 GG1234]:
> I am having the same unexpected additional lines when I brake lines of
my map. Is there any hope for this ticket to be resolved in a near future
or should I find a workaround ?
> Has anybody ideas of workarounds ? I tried on PostGis with the ST_Split
function but wasn't lucky at using it, and I would rather stay in GRASS if
possible.
I will take a look at this issue during Christmas. No promises that it
will help of course:-) Happy Xmas, Martin
#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.?
#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:10 GG1234]:
> I am afraid I still have artifacts, see attached picture.
> For further debugging, I attach my layer and a txt files with the points
on which I break.
please could you attach also commands to reproduce this bug. I have
imported two shapefiles and created a point map.
Thanks to Martin's Christmas present the bugs have vanished.
My previous tests were wrong, I guess my Grass build wasn't recent enough.
With a new setup it works like a charm !
Many thanks to Martin for this bug resolution, I will close the ticket.
Any ideas if the fix is also in Grass 7 or will be in near futur ?
Replying to [comment:13 GG1234]:
> Many thanks to Martin for this bug resolution, I will close the ticket.
> Any ideas if the fix is also in Grass 7 or will be in near futur ?
Reopening since lacking from G6.4 (two differences) and potentially 7.