Opened 15 years ago

Closed 15 years ago

#664 closed defect (invalid)

All vector geometry deleted after editing with v.edit

Reported by: epatton Owned by: martinl
Priority: major Milestone: 6.5.0
Component: Vector Version: svn-develbranch6
Keywords: v.edit Cc: grass-dev@…
CPU: x86-64 Platform: Linux

Description

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:

v.info -t Bonavista_Waterbodies_clipped
nodes=0
points=0
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=0
kernels=0
primitives=0
map3d=0

!#?$%!

~ Eric.

Change History (6)

comment:1 by martinl, 15 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Please can you reproduce this behaviour in NC dataset?

comment:2 by epatton, 15 years ago

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.

~ Eric.

in reply to:  2 ; comment:3 by martinl, 15 years ago

Replying to 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?

comment:4 by martinl, 15 years ago

Keywords: v.edit added

in reply to:  3 comment:5 by martinl, 15 years ago

Priority: criticalmajor

Replying to martinl:

Replying to 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?

Downgrading priority.

comment:6 by martinl, 15 years ago

Resolution: invalid
Status: assignedclosed

Closed, please re-open if needed.

Note: See TracTickets for help on using tickets.