[GRASS-dev] Re: [GRASS GIS] #957: v.voronoi has extra lines in
output
GRASS GIS
trac at osgeo.org
Tue Sep 20 09:59:29 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: v.voronoi | Platform: All
Cpu: All |
-----------------------+----------------------------------------------------
Comment(by mmetz):
Replying to [comment:8 mlennert]:
> Replying to [comment:7 mmetz]:
> > Please try trunk r48378. This fixes the extra lines.
> >
> > The holes reported by Helena are a different problem, a floating point
precision error somewhere. Snapping the result, e.g.
{{{
> > v.voronoi in=elev_lid792_randpts out=elev_lid792_randpts_voronoi
> > v.clean in=elev_lid792_randpts_voronoi
out=elev_lid792_randpts_voronoi_snap tool=snap thresh=0.0000001
type=boundary
}}}
> > solves some but not all errors.
>
> For me this solves both my bugs and the one reported by Helena (when
going through the extra snap step), i.e. no more extra lines and no holes
(after snapping).
Proper cleaning (a bit more than snapping) is now built into v.voronoi,
trunk r48382. The result from v.voronoi in=elev_lid792_randpts
out=elev_lid792_randpts_voronoi is now 100% ok.
Markus M
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/957#comment:19>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list