[GRASS-dev] Re: [GRASS GIS] #957: v.voronoi has extra lines in output

GRASS GIS trac at osgeo.org
Mon Sep 19 12:12:03 EDT 2011


#957: v.voronoi has extra lines in output
--------------------+-------------------------------------------------------
 Reporter:  helena  |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  major   |   Milestone:  6.4.2                    
Component:  Vector  |     Version:  svn-develbranch6         
 Keywords:          |    Platform:  All                      
      Cpu:  All     |  
--------------------+-------------------------------------------------------
Changes (by mlennert):

  * milestone:  6.4.1 => 6.4.2


Comment:

 More info on this bug. Using the following data (in file xyz.csv):


 {{{
 x;y;z
 0;1;0
 1;1;0.8415
 2;2;0.9093
 3;1;0.1411
 4;4;-0.7568
 5;3;-0.9589
 6;4;-0.2794
 }}}


 and the following commands

 {{{

 v.in.ascii in=xyz.csv out=xyz fs=';' skip=1 x=1 y=2 col="x int, y int, z
 double precision" --o
 g.region vect=xyz
 v.voronoi xyz out=xyz_voronoi
 }}}


 I get screenshot bug_voronoi1.png. This seems to show some issue with
 points at the edges as there are two points located in the same polygon in
 the bottom left (1 & 2) and top right (6 & 7).

 Then I try with a larger region:

 {{{
 g.region n=5 s=0 w=-1 e=7
 v.voronoi xyz out=xyz_voronoi2
 }}}


 and I get screenshot bug_voronoi2.png which now seems completely wrong.
 I've tried this in 6.4.1 and fairly recent versions of 6.5 and trunk (a
 few days old). The same problem appears in all versions.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/957#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list