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

#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&gt;
GRASS GIS <http://grass.osgeo.org>

#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
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by mlennert):

* Attachment "v_voronoi_allpolystogether.png" added.

all polygons in one go

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

#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
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by mlennert):

* Attachment "v_voronoi_polybypoly.png" added.

polygon by polygon through loop

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