[GRASS-dev] Re: [GRASS GIS] #957: v.voronoi has extra lines in
output
GRASS GIS
trac at osgeo.org
Tue Sep 20 04:17:32 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 |
--------------------+-------------------------------------------------------
Comment(by 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.
>
> Markus M
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).
However, the following:
g.region vect=precip_30ynormals
v.voronoi in=precip_30ynormals out=precip_voronoi
still gives me a polygon containing two points (39 and 82 - see
bug_voronoi3.png)
Moritz
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/957#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list