v.clean: dangles removed but nothing cahnged (?)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

v.clean: dangles removed but nothing cahnged (?)

Maciek Sieczka
Hi,

Although v.clean often prints "Removed dangles:   177", nothing
actually changes in the output compred to input. What does that message
actually mean?

in spearfish:

$ v.clean in=roads out=roads_nodang tool=rmdangle

| Remove dangles                  |  Building topology ...
825 primitives registered
Topology was built.
Number of nodes     :   676
Number of primitives:   825
Number of points    :   0
Number of lines     :   825
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   -
Number of isles     :   -
Removed dangles:   177  removed lines:     0
Building topology ...
825 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes     :   676
Number of primitives:   825
Number of points    :   0
Number of lines     :   825
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0

Now run the same command on the previous output - the same information
about 177 removed dangles pops up. Why?

$ v.clean in=roads_nodang out=roads_nodang2 tool=rmdangle
| Remove dangles                  |  Building topology ...
825 primitives registered
Topology was built.
Number of nodes     :   676
Number of primitives:   825
Number of points    :   0
Number of lines     :   825
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   -
Number of isles     :   -
Removed dangles:   177  removed lines:     0
Building topology ...
825 primitives registered
0 areas built
0 isles built
Attaching islands:
Attaching centroids: Topology was built.
Number of nodes     :   676
Number of primitives:   825
Number of points    :   0
Number of lines     :   825
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0

There is no difference between roads_nodang and roads_nodang2:

$ v.build roads_nodang option=dump > roads_nodang.dump
$ v.build roads_nodang2 option=dump > roads_nodang2.dump
$ diff roads_nodang2.dump roads_nodang.dump
(nothing printed)

so the data was not modified, despite "Removed dangles:   177". Or was it?

Maciek

---------------------
Panorama Internetu - prognoza pogody, poczta e-mail z największym załącznikiem, SMS, wyszukiwarki: Gooru, Anonser, serwisy: randki, ogłoszenia, wakacje, program TV, Kina, muzyka, DVD, newsy, inne.
http://www.panoramainternetu.pl/ (http://www.epf.pl/)

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: v.clean: dangles removed but nothing cahnged (?)

Maciej Sieczka - old
Shoot, I sent it from a wrong address. Please reply to tutey at o2.pl
only. I almost don't use that @epf.pl at all anymore. Sorry for the mess.

Maciek

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev