#664: All vector geometry deleted after editing with v.edit
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
I really hope there is a simple explanation for this one...otherwise this
is a serious bug. I was running v.edit from the terminal on a polygon
vector in 6.5svn. I was trying to break two specific boundaries in order
to merge them in another v.edit run. Here is the output from 'v.edit
tool=break' (ids were obtained from interactive querying):
{{{
v.edit map=Bonavista_Waterbodies_clipped type=line,boundary tool=break
ids=2599,2618 --v
Selecting features...
2 of 3568 features selected from vector map
<Bonavista_Waterbodies_clipped@PERMANENT>
100%
Intersections: 0
Intersections: 0
0 lines broken
Building topology for vector map <Bonavista_Waterbodies_clipped>...
Registering primitives...
3568 primitives registered
88380 vertices registered
Building areas...
100%
2475 areas built
2440 isles built
Attaching islands...
100%
Attaching centroids...
100%
Topology was built
Number of nodes: 3533
Number of primitives: 3568
Number of points: 0
Number of lines: 0
Number of boundaries: 2626
Number of centroids: 942
Number of areas: 2475
Number of isles: 2440
Number of areas without centroid: 1533
v.edit complete.
}}}
Next, I ran v.edit tool=merge, trying to merge two side-by-side boundaries
that virtually overlap one another:
{{{
v.edit map=Bonavista_Waterbodies_clipped type=line,boundary tool=merge
ids=2599,2618 --v
Selecting features...
2 of 3568 features selected from vector map
<Bonavista_Waterbodies_clipped@PERMANENT>
100%
2 lines merged
Building topology for vector map <Bonavista_Waterbodies_clipped>...
Registering primitives...
0 primitives registered
0 vertices registered
Building areas...
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
Topology was built
Number of nodes: 0
Number of primitives: 0
Number of points: 0
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.edit complete.
}}}
All vector geometry has been deleted! I have zoomed to full extent, I have
exited Grass and tried re-displaying the vector, nothing. v.info confirms
there is nothing in this vector:
No, I can't. I tried editing a few vectors in the NC location and things
seem ok, although I only had time to try for about 15 minutes.
Fortunately, all is not lost; I can return to an intermediate vector
dataset and resume my edits, but it is still frustrating. I'll try and
takes notes on what happens the next time around.
Replying to [comment:2 epatton]:
> No, I can't. I tried editing a few vectors in the NC location and things
seem ok, although I only had time to try for about 15 minutes.
>
> Fortunately, all is not lost; I can return to an intermediate vector
dataset and resume my edits, but it is still frustrating. I'll try and
takes notes on what happens the next time around.
In this case can you send me sample location and exact commands?
#664: All vector geometry deleted after editing with v.edit
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: v.edit
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by martinl):
* priority: critical => major
Comment:
Replying to [comment:3 martinl]:
> Replying to [comment:2 epatton]:
> > No, I can't. I tried editing a few vectors in the NC location and
things seem ok, although I only had time to try for about 15 minutes.
> >
> > Fortunately, all is not lost; I can return to an intermediate vector
dataset and resume my edits, but it is still frustrating. I'll try and
takes notes on what happens the next time around.
>
> In this case can you send me sample location and exact commands?