[GRASS-dev] [GRASS GIS] #2670: v.voronoi skeleton: nonsense result with many adjacent polygons

GRASS GIS trac at osgeo.org
Wed May 6 03:49:16 PDT 2015


#2670: v.voronoi skeleton: nonsense result with many adjacent polygons
-------------------------+-------------------------
 Reporter:  mlennert     |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.1
Component:  Default      |    Version:  svn-trunk
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 {{{
 v.voronoi -s census_wake2000 out=census_skel
 }}}

 The output is nonsense (see attached image).

 I can get more sensible results (see second image) with:

 {{{
 for cat in $(v.category census_wake2000 op=print); do v.extract
 census_wake2000 cat=$cat out=census$cat; g.region vect=census$cat;
 v.voronoi -s census$cat out=skel$cat; done; v.patch $(g.list vect
 pat="skel*" sep=,) out=census_skel_patched --o
 }}}

 How difficult would it be to integrate such a loop into v.voronoi to
 ensure more useful centerlines ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2670>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list