https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-10-02T03:13:48ZQGIS Issue TrackingQGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=452672013-10-02T03:13:48ZPedro VenĂ¢nciopedrongvenancio@gmail.com
<ul></ul><p>Hi,</p>
<p>I had not realized, but this has nothing to do with modeler. The problem is with Clip and a specific shapefile (<a class="external" href="http://goo.gl/pdlURR">http://goo.gl/pdlURR</a>). It gives this error when I run any Vector Overlay Tool from Processing (Sextante):</p>
<pre>
Algorithm Clip started
Traceback (most recent call last): File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 150, in execute self.processAlgorithm(progress) File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\algs\\ftools\\Clip.py", line 80, in processAlgorithm geom = QgsGeometry(inFeatA.geometry()) TypeError: arguments did not match any overloaded call: QgsGeometry(): too many arguments QgsGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'
</pre>
<pre>
Algorithm Difference started
Traceback (most recent call last): File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 150, in execute self.processAlgorithm(progress) File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\algs\\ftools\\Difference.py", line 81, in processAlgorithm geom = QgsGeometry(inFeatA.geometry()) TypeError: arguments did not match any overloaded call: QgsGeometry(): too many arguments QgsGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'
</pre>
<pre>
Algorithm Intersection started
Traceback (most recent call last): File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 150, in execute self.processAlgorithm(progress) File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\algs\\ftools\\Intersection.py", line 64, in processAlgorithm geom = QgsGeometry( inFeatA.geometry() ) TypeError: arguments did not match any overloaded call: QgsGeometry(): too many arguments QgsGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'
</pre>
<pre>
Algorithm Union started
Traceback (most recent call last): File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\core\\GeoAlgorithm.py", line 150, in execute self.processAlgorithm(progress) File "C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\algs\\ftools\\Union.py", line 73, in processAlgorithm geom = QgsGeometry( inFeatA.geometry() ) TypeError: arguments did not match any overloaded call: QgsGeometry(): too many arguments QgsGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'
</pre>
<p>But if I run any of this tools thru Vector -> Geoprocessing Tools, it works ok.</p>
<p>The same way, if I export the shapefile to a new shape, then everything works ok, including on Processing (Sextante).</p>
<p>This happens both on windows and Linux.</p>
<p>Any idea about what could it be?</p>
<p>Thanks, and sorry for the original ticket title, as this is not a modeler problem. I can't change the title, so anyone with privileges, please change it.</p> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=452692013-10-02T03:39:45ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Using clip tool more than once on a model</i> to <i>Using clip tool on a particular vector fails in sextantes</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> changed from <i>Version 2.0.0</i> to <i>Future Release - High Priority</i></li></ul> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=553412014-09-14T01:21:58ZAlexander Bruy
<ul></ul><p>Please provide sample data</p> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=576692014-11-22T00:31:54ZAlexander Bruy
<ul><li><strong>Category</strong> changed from <i>94</i> to <i>Processing/QGIS</i></li></ul> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=576712014-11-22T00:32:30ZAlexander Bruy
<ul><li><strong>Subject</strong> changed from <i>Using clip tool on a particular vector fails in sextantes</i> to <i>Using Clip tool on a particular vector fails in Processing</i></li></ul> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=590542015-02-03T08:11:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=590552015-02-03T08:13:33ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Alexander Bruy wrote:</p>
<blockquote>
<p>Please provide sample data</p>
</blockquote>
<p>the data is here</p>
<p><a class="external" href="http://goo.gl/pdlURR">http://goo.gl/pdlURR</a></p>
<p>anyway I suggest to close this ticket. The layer has some peculiar error that makes even postgis make valid fail. On the other hand grass v.overlay and the new ogr based clip tool are working ok. Also a cleaned version (with v.clean) works ok with any tool.</p> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=590562015-02-03T10:00:56ZPedro VenĂ¢nciopedrongvenancio@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>I will close this ticket because it seems a problem with this particular file.</p>
<p>The record with attributes</p>
<p>30-12-1899 30-12-1899 2007 0,000 0,000 0,000 0</p>
<p>actually has area zero, and so is a corrupted polygon centered at coordinates [0,0] of the reference system.</p>
<p>Sorry for the noise.</p> QGIS Application - Bug report #8740: Using Clip tool on a particular vector fails in Processinghttps://issues.qgis.org/issues/8740?journal_id=590572015-02-03T10:12:37ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li></ul>