https://issues.qgis.org/https://issues.qgis.org/favicon.ico2017-10-16T19:31:30ZQGIS Issue TrackingQGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=835702017-10-16T19:31:30ZSteve Lowman
<ul><li><strong>File</strong> <a href="/attachments/download/11558/Processing%20vs%20OGR%20buffer%20on%20invalid%20geometries%20Demo2.mp4">Processing vs OGR buffer on invalid geometries Demo2.mp4</a> added</li></ul><p>Adding second video demo showing OGR buffer tool does not skip features with invalid geometries</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=835712017-10-16T19:43:26ZSteve Lowman
<ul></ul><p>Cross ref to 17293. Both are about buffers, including both QGIS and OGR tools.</p>
<p>Also to comment, I think this may count as a regression, as the vector menu buffer tool now has this problem that was not there in the 2.14 buffer tool.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836032017-10-17T07:24:14ZJürgen Fischerjef@norbit.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority- closed" href="/issues/17293">Bug report #17293</a>: Processing output name called after the operation name even when saved to file</i> added</li></ul> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836172017-10-17T09:48:43ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Steve Lowman wrote:</p>
<blockquote>
<p>Cross ref to 17293. Both are about buffers, including both QGIS and OGR tools.</p>
<p>Also to comment, I think this may count as a regression, as the vector menu buffer tool now has this problem that was not there in the 2.14 buffer tool.</p>
</blockquote>
<p>that ticket is not about just the buffer tool, and anyway seems invalid (see my comments). This ticket is a about a completely different matter.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836182017-10-17T09:51:54ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Operating System</strong> deleted (<del><i>W10</i></del>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Steve Lowman wrote:</p>
<blockquote>
<p>Adding second video demo showing OGR buffer tool does not skip features with invalid geometries</p>
</blockquote>
<p>The tools (that do the same geoprocessing/analysis operation) have different origins so is expected that they can behave in slightly different ways. In this case is widely known that QGIS native geoprocessing tools until 2.18 have issues handling and reporting about geometry errors in inputs. You must check in QGIS master (where this native QGIS tools are being ported to C++) to see if anything changed. Thanks.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836192017-10-17T09:52:15ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>If you can please also attach your sample data.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836342017-10-17T14:14:28ZSteve Lowman
<ul><li><strong>File</strong> <a href="/attachments/download/11567/TestForBugs.zip">TestForBugs.zip</a> added</li></ul><p>Thanks Giovanni. I see this is related to <a class="issue tracker-1 status-5 priority-5 priority- closed" href="https://issues.qgis.org/issues/17132" title="Errors when running QGIS algorithms with inputs with geometry errors (Closed)">#17132</a>, which has a high priority. Sorry, I am just an LTR user and probably adopted 2.18 a bit too early with it still having bugs like this.</p>
<p>Adding a shapefile, the same as in the video, 76 features, of which 4 have errors that make the Fixed Distance Buffer tool skip them. They are features 22, 26, 44 and 70. The OGR Buffers tool handles them without a problem and fixes their errors when run with zero distance.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836352017-10-17T14:26:44ZSteve Lowman
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>Sample file and comment submitted in response to feedback, so now setting it back to 'Open'.</p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=836362017-10-17T14:41:45ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>wontfix</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Steve Lowman wrote:</p>
<blockquote>
<p>Sample file and comment submitted in response to feedback, so now setting it back to 'Open'.</p>
</blockquote>
<p>On 2.18.13 in the log there is the warning about the skipped geometries</p>
<p>2017-10-17T15:27:04 1 Feature 22 has invalid geometry. Skipping...<br />2017-10-17T15:27:04 1 Feature 36 has invalid geometry. Skipping...<br />2017-10-17T15:27:04 1 Feature 44 has invalid geometry. Skipping...<br />2017-10-17T15:27:04 1 Feature 70 has invalid geometry. Skipping...</p>
<p>and I believe that for this QGIS release is all that what could be done (this problem has been lengthy discussed in the past).<br />The same dataset will causes QGIS3 to lock completely, which is kind of a good news because there is the commitment to make this native qgis geoprocessing tools work correctly in QGIS3. In the meantime in QGIS 2 use more robust alternatives available in the Processing toolbox.</p>
<p>Closed in favor of <a class="issue tracker-1 status-5 priority-5 priority- closed" href="https://issues.qgis.org/issues/17132" title="Errors when running QGIS algorithms with inputs with geometry errors (Closed)">#17132</a></p> QGIS Application - Bug report #17291: QGIS fixed-distance buffer skips features with invalid geometryhttps://issues.qgis.org/issues/17291?journal_id=896212018-05-07T13:18:24ZAlessandro Pasotti
<ul><li><strong>Duplicated by</strong> <i><a class="issue tracker-1 status-5 priority-5 priority- closed" href="/issues/18080">Bug report #18080</a>: Vector Fixed Distance Buffer</i> added</li></ul>