https://issues.qgis.org/https://issues.qgis.org/favicon.ico2010-06-21T22:03:29ZQGIS Issue TrackingQGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224632010-06-21T22:03:29ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>Confirmed. In my case, it crashes with:</p>
<p>Error: </p>
<pre><code>GDAL Error 1: [[TopologyException]]: found non-noded intersection between LINESTRING (138.783 -34.5531, 138.783 -34.5531) and LINESTRING (138.783 -34.5531, 138.783 -34.5531) at 138.783 -34.5531</code></pre>
<p>Segmentation fault</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224642010-06-21T23:09:30ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>see attached image. The geometry does not seems correct. Fix it and the tool will work fine.</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224652010-06-21T23:29:42ZJürgen Fischerjef@norbit.de
<ul></ul><p>Replying to [comment:2 pcav]:</p>
<blockquote>
<p>Confirmed. In my case, it crashes with:</p>
</blockquote>
<p>No crash here.</p>
<blockquote>
<p>Error:</p>
<p>GDAL Error 1: <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/TopologyException">TopologyException</a>: found non-noded intersection between LINESTRING (138.783 -34.5531, 138.783 -34.5531) and LINESTRING (138.783 -34.5531, 138.783 -34.5531) at 138.783 -34.5531</p>
</blockquote>
<p>GDAL? Strange. There should be a GEOS exception, if any. Although the rest of the message looks like one. Doesn't this only crash with some plugins involved?</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224662010-06-21T23:34:49ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>So we got another problem now: I suspected the layer was invalid, so I checked with fTools, which it couldn't find the error.<br />Two issues then:</p>
<p>- QGIS shouldn't crash in case of editing invalid geometries, and it should report a meaningful error when trying to manipulate them</p>
<p>- incorrect geometries should be found by fTools (probably better opening a ticket on this)</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224672010-06-22T00:11:39ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>Right: uninstalling SDA4PP plugin removes the crash. A meaningful erro message would be good to have anyway.</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224682010-06-22T14:10:51Zxr6ute -xr6ute@foo.bar
<ul></ul><p>Sorry about the bad geometry file I hadn't noticed that, and I can confirm Lutra is correct, once I fixed the geometry the tool worked as expected.<br />Thanks for looking in to this, the response is exceptional, inline with the overall QGIS experience :-).</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224692010-06-23T00:05:05ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>New description:</p>
<p>See attached polygon shapefile. It has an invalid geometry and if you try to split it qgis does nothing. It should throw a message/warning.</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224702011-04-22T07:08:11ZJürgen Fischerjef@norbit.de
<ul></ul><p>fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/f33d9f2ed07f7d9a7f40cd062584270bbfdbbcde" title="fix #2829 git-svn-id: http://svn.osgeo.org/qgis/trunk@15812 c8812cc2-4d05-0410-92ff-de0c093fc19c">f33d9f2e</a> (SVN r15813).</p> QGIS Application - Bug report #2829: qgis doesn't show any message/warning when splitting a polygon with an invalid geometryhttps://issues.qgis.org/issues/2829?journal_id=224712011-04-22T07:08:46ZJürgen Fischerjef@norbit.de
<ul><li><strong>Resolution</strong> set to <i>fixed</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>