Thu, Mar 30 2006
13:47:38
|
|
Request created by guest
|
|
Subject: v.clean: rmdac tool doesn't create the error vector
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-03-29
v.clean tool=rmdac removes multiple centroids from input OK, but fails to create
the "error" vector:
### There are 2 redundant centroids which I want to spot:
$ v.build parcels
Building topology ...
4137 primitives registered
Building areas: 100%
1112 areas built
12 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 3037
Number of primitives: 4137
Number of points : 0
Number of lines : 0
Number of boundaries: 3023
Number of centroids : 1114
Number of areas : 1112
Number of isles : 12
Number of duplicate centroids : 2
### ... So I use v.clean to put duplicate centroids into the error vector file,
so I could find out where they are; but as you can see below the error vector
is empty (though cleaning took place, since there are 2 centroids less and no
duplicates in the output):
$ v.clean input=parcels output=parcels_cl error=parcels_err tool=rmdac
+---------------------------------+---------------+
| Tool | Threshold |
+---------------------------------+---------------+
| Remove duplicate area centroids | 0.000000e+00 |
+---------------------------------+---------------+
Copying vector lines ...
--------------------------------------------------
Rebuilding parts of topology ...
Building topology ...
4137 primitives registered
Building areas: 100%
1112 areas built
12 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 3037
Number of primitives: 4137
Number of points : 0
Number of lines : 0
Number of boundaries: 3023
Number of centroids : 1114
Number of areas : 1112
Number of isles : 12
Number of duplicate centroids : 2
--------------------------------------------------
Tool: Remove duplicate area centroids
Duplicate area centroids: 2
--------------------------------------------------
Rebuilding topology for output vector ...
Building topology ...
4135 primitives registered
Building areas: 100%
1112 areas built
12 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 3035
Number of primitives: 4135
Number of points : 0
Number of lines : 0
Number of boundaries: 3023
Number of centroids : 1112
Number of areas : 1112
Number of isles : 12
--------------------------------------------------
Building topology for error vector ...
Building topology ...
0 primitives registered
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
Maciek
|
|
Thu, Mar 30 2006
13:58:42
|
|
Mail sent by msieczka
|
|
Testing dataset:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/vclean_rmdac.tar.bz2
Maciek
|
|
Wed, May 10 2006
20:50:02
|
|
Mail sent by msieczka
|
|
As of CVS 2006.05.08, the 'snap' tool doesn't create error layer either. It
would be good if we could now where exctly the snapping took place. A
bug/missing feature?
Maciek
|
|
Wed, Jul 26 2006
18:21:56
|
|
User changed to tutey@o2.pl by msieczka
|
|
Thu, Oct 5 2006
12:37:41
|
|
Mail sent by msieczka
|
|
Same thing regarding rmdangles tool. |
|
Tue, Nov 21 2006
18:20:59
|
|
Subject changed to v.clean: several tools don't create the error vector by msieczka
|
|
Tue, Jul 17 2007
16:02:27
|
|
Taken by mlanda
|
|
Wed, Jul 18 2007
12:15:10
|
|
Status changed to resolved by mlanda
|
|
Wed, Jul 18 2007
12:15:10
|
|
Comments added by mlanda
|
|
Fixed in CVS, resolved... |
|