https://issues.qgis.org/https://issues.qgis.org/favicon.ico2011-05-09T07:07:21ZQGIS Issue TrackingQGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248492011-05-09T07:07:21ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>please attach/link a sample dataset to try replicate the issue.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248502011-05-09T07:12:55Zcfarmer -cfarmer@foo.bar
<ul></ul><p>A point of clarification:</p>
<blockquote>
<p>Process ran very slowly up to 27% completeness and then QGIS stopped responding and crashed.</p>
</blockquote>
<p>Does this mean that QGIS stopped responding and you closed/terminated the application, or did it indeed crash on it's own? If crash, is there any output that you can report?</p>
<p>Note: The Join by location tool is not particularly efficient (not optimized for large datasets), and for large datasets, you might be better off using postgis, or even a spatialite database, which are more appropriate for these types of operations. This is obviously not a 'solution' to this problem, but rather a viable workaround. I would also recommend using the 'Check geometry validity' tool to ensure that your polygons are all properly defined and not causing problems themselves.</p>
<p>Carson</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248512011-05-09T08:06:19Zbderstine -bderstine@foo.bar
<ul></ul><p>lutra: I cannot attach the dataset as it is proprietary.</p>
<p>cfarmer: This means that QGIS stopped responding, the window turned slightly transparent, and I eventually shut it down. I may have been able to let it keep running, but it had already been an hour with no apparent signs of life (the progress bar ceased updating). No output to report, sadly.</p>
<p>I ran the same join (and a follow-up) in <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/ArcGIS">ArcGIS</a>, just to test whether the files were ok, and it ran fine there (took a long time as well, but not as long and no crash).</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248522011-05-09T08:13:07Zbderstine -bderstine@foo.bar
<ul></ul><p>lutra: I imagine a similar query would be to load the GNIS national file: <a class="external" href="http://geonames.usgs.gov/domestic/download_data.htm">http://geonames.usgs.gov/domestic/download_data.htm</a> and join attributes by spatial location to some US Census boundary file such as the Census Incorporated Places.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248532011-05-09T09:07:41ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Replying to [comment:5 bderstine]:</p>
<blockquote>
<p>lutra: I imagine a similar query would be to load</p>
</blockquote>
<p>Hi, can you please test if the datasets you say are enough to replicate the problem? I'm also not familiar with that datasets, so I guess it would be easier for you to try.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248542011-05-20T05:16:37Zbderstine -bderstine@foo.bar
<ul></ul><p>More detail: I tried again today with 1.8.0-10.<br />Attribute Summary set to "Take attributes of fist located feature" <br />Output table: Keep all records (including non-matching target records)</p>
<p>Process started at 8:35am, progress bar jumped to 15% immediately and then doesn't move, and I get the little "thinking" mouse pointer (likely due to all the processing that's happening behind the scenes, though this is not ideal UI design).</p>
<p>A spatial join in <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/ArcGIS">ArcGIS</a> constantly displays a running count of # processed, in chunks, so you know that it's still actually doing something. Something like that would vastly improve the UI here.</p>
<p>At 9:14am, I get the pop-up window telling me that it "created output shapefile: ..." So I guess I was wrong. I guess I'll change this to "enhancement" and "major".</p>
<p>I feel strongly that either (a) the progress bar needs to be fixed so that it actually does update to show progress, or (b) some other indicator of progress should be added to inform the user that the process is still working.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=248552011-05-21T09:23:27ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>I suggest then to close this ticket and open a more general one, like "improve handling of processes in ftools". My suggestion would be to manage the processes as in the "raster" tools menu (gdal tools). In this case launching a process does not "block" qgis as is run in the background, as a user can still work with the main program.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=259612011-10-15T04:28:12ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Pull Request or Patch supplied</strong> set to <i>No</i></li></ul><p>So closing this and opening a feature request one instead.</p> QGIS Application - Feature request #3810: Join attributes by location crashhttps://issues.qgis.org/issues/3810?journal_id=789222017-04-30T23:22:11ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.</p>