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

GRASS GIS trac at osgeo.org
Mon May 6 09:15:27 PDT 2019


#2670: v.voronoi skeleton: nonsense result with many adjacent polygons
--------------------------+-------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.0
 Component:  Default      |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [comment:9 martinl]:
 > With GRASS 7.6.0 I am getting
 >
 > {{{
 > v.voronoi -s census_wake2000 out=census_skel
 > Reading features...
 > ERROR: Found 0 vertices in <census_wake2000 at PERMANENT>, but at least 2
 are
 >        needed
 > }}}
 >
 > ?

 From the manual: "The bounds of the output map are limited by the current
 region (see g.region)."

 Then you get no error but nonsense results.

 Replying to [comment:10 mlennert]:
 > Moving this on to milestone 7.8, but not sure if this is really fixable.
 >
 > MarkusM, should this be a no fix ?

 Not sure, v.voronoi generally suffers from numerical instability.
 Previously, I could improve it a bit, but it's not perfect, but I have one
 more idea (maybe in the next few weeks I find time to try this idea: scale
 coordinates to region center).

 Furtheron, something seems to be conceptually wrong with the skeletons for
 adjacent areas, that should be fixable.

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



More information about the grass-dev mailing list