[GRASS-dev] [GRASS GIS] #1256: leftover node when deleting
boundaries vertex-by-vertex
GRASS GIS
trac at osgeo.org
Fri Jan 7 23:55:02 EST 2011
#1256: leftover node when deleting boundaries vertex-by-vertex
--------------------+-------------------------------------------------------
Reporter: shaneL | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Vector | Version: 6.4.0 RCs
Keywords: | Platform: Linux
Cpu: x86-32 |
--------------------+-------------------------------------------------------
further to posting about this on grass-users mailing list, was advised to
file bug (my first attempt, hope I get this right...)
to reproduce issue;[[BR]]
1. run v.digit (I am using defaul tcl/tk monitors in my ubuntu 10.04
install)
2. create a new vector 'node_issue', or can get same result in an existing
vector.
3. choose from GUI 'boundary' tool, draw a boundary. I set options as 'no
category' and not to add entry to table, though doubt this affects issue.
4. whether the boundary is closed or open after digitising, didn't affect
the final result either
5. choose 'remove vertex' tool, and click on any vertex (start, end, or
anywhere in the middle), and continue clicking on vertices, thereby
deleting them, until you arrive at the last vertex remaining for the
boundary.
6. it appears to be deleted, but then a red cross remains. red cross in
v.digit settings means Node (1 line) for my install. this red cross only
visible in v.digit. opening vector in map view of grass does not show it.
running v.info after digitising a boundary:[[BR]]
Number of points: 0 Number of areas: 1
Number of lines: 0 Number of islands: 1
Number of boundaries: 1 Number of faces: 0
Number of centroids: 0 Number of kernels: 0
running v.info after removing vertices and having 'red cross'
remain:[[BR]]
Number of points: 0 Number of areas: 0
Number of lines: 0 Number of islands: 0
Number of boundaries: 1 Number of faces: 0
Number of centroids: 0 Number of kernels: 0
-this errant node can be removed using v.clean. I successfully used
v.clean to remove such a node from a working vector without upsetting any
of the other boundaries or centroids in the vector layer.
after running:
v.clean input=node_issue at Lacebark output=node_issue_cleaned type=boundary
tool=rmline
the v.info for the cleaned vector is:[[BR]]
Number of points: 0 Number of areas: 0
Number of lines: 0 Number of islands: 0
Number of boundaries: 0 Number of faces: 0
Number of centroids: 0 Number of kernels: 0
Hope this explanation is of use :-)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1256>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list