[GRASS-dev] [GRASS GIS] #664: All vector geometry deleted after editing with v.edit

GRASS GIS trac at osgeo.org
Mon Jun 29 11:05:54 EDT 2009


#664: All vector geometry deleted after editing with v.edit
----------------------+-----------------------------------------------------
 Reporter:  epatton   |       Owner:  grass-dev at 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 at 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 at 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.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/664>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list