<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi list,</p>
<p>I have encountered an issue when creating Voronoi polygons from a
point dataset using the native Voronoi polygons processing tool in
QGIS 3.40.7. I'm not sure whether this is a bug or not, so am
asking for an opinion here before raising a ticket. I have
attached an excerpt from a larger point dataset which causes the
voronoi tool to fail with an error:</p>
<pre><span style=" color:#ff0000;">Feature could not be written to Voronoi_polygons_b838458f_b720_4604_8b19_e58370910ee7: Could not add feature with geometry type GeometryCollection to layer of type Polygon</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">Could not write feature into OUTPUT</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">Execution failed after 0.03 seconds</span></pre>
<p>As far as I can tell, there is nothing unusual about these
points, and they have come from a much larger dataset of 1.1
million points that all complete successfully.</p>
<p>If I export the points to a GeoJSON with the default 15dp
precision, the error no longer arises, whereas increasing the
precision to 20dp results in the error still occurring, the
difference being in rownum = 15.</p>
<p>I'd like to understand why the error is arising so as to avoid
similar issues in the future.</p>
<p>Cheers,</p>
<p>Andy</p>
<pre class="moz-signature" cols="72">--
Andy Harfoot
GeoData Institute
University of Southampton
Southampton
SO17 1BJ
<a class="moz-txt-link-abbreviated" href="http://www.geodata.soton.ac.uk">www.geodata.soton.ac.uk</a></pre>
</body>
</html>