Wed, Apr 5 2006
12:07:18
|
|
Request created by guest
|
|
Subject: v.build.polylines: fails to build a polyline out of a closed boundary
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-04-05
If v.build.polylines in run on a topologicaly clean, self-closed boundary, the
output will be an "incorrect bondary", twice that long as the input.
See screenshots from v.digit:
input:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/poly/parcel.png
v.build.polylines output "incorrect boundary":
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/poly/parcel_poly.png
after editing the output the problem becomes visible:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/poly/parcel_poly_edited.png
Details:
### See that the input is clean:
$ v.build parcel
Building topology ...
1 primitives registered
Building areas: 100%
1 areas built
1 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 1
Number of primitives: 1
Number of points : 0
Number of lines : 0
Number of boundaries: 1
Number of centroids : 0
Number of areas : 1
Number of isles : 1
Number of areas without centroid : 1
### But after processing with the v.build.polylines it is not (an incorrect
### boundary is created):
$ v.build.polylines input=parcel output=parcel_poly
reating new map parcel_poly
The number of lines in the binary map is 1
Polyline 0: start line = 1
The number of polylines in the output map is 1
Building topology ...
Registering lines:
1 primitives registered
Building areas:
0 areas built
0 isles built
Attaching islands:
Attaching centroids:
Topology was built.
Number of nodes : 1
Number of primitives: 1
Number of points : 0
Number of lines : 0
Number of boundaries: 1
Number of centroids : 0
Number of areas : 0
Number of isles : 0
Number of incorrect boundaries : 1
Grass location with forementioned vectors:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/poly/poly.tar.bz2
Maciek
|
|
Wed, Jul 26 2006
18:22:12
|
|
User changed to tutey@o2.pl by msieczka
|
|
Tue, Nov 28 2006
13:11:06
|
|
Mail sent by msieczka
|
|
guest wrote (Wed, Apr 5 2006 12:07:18):
> If v.build.polylines in run on a topologicaly clean, self-closed boundary,
> the output will be an "incorrect bondary", twice that long as the input.
I have to add that the input boundary *has to* be a single line already (ie.
1
boundary with 2 snapped nodes) for the bug to pop up. Such a line is the
'parcel' vector from the location available at
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/poly/poly.tar.bz2.
If v.build.polylines is run on a boundary that is consisted of more than 2
nodes it will work fine though.
The bug is still there.
Maciek
|
|
Fri, Feb 23 2007
13:21:24
|
|
Taken by mlanda
|
|
Fri, Feb 23 2007
14:38:15
|
|
Mail sent by mlanda
|
|
I hope I have fixed this bug in CVS. |
|
Fri, Feb 23 2007
14:51:57
|
|
Status changed to resolved by mlanda
|
|