https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-11-26T12:14:52ZQGIS Issue TrackingQGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=577982014-11-26T12:14:52ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Map Canvas</i></li></ul> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=586282015-01-13T07:15:35ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Been doing some more testing and it looks like it doesn't matter how many layers are in the project.</p>
<p>Even a single layer will do this when the "Render layers in parallel using many CPU cores" option is enabled.</p>
<p>Disabling that option fixes the issue.</p>
<p>Or reducing the number of cores used (on an 8 core Intel CPU i7) to 3 or less seems to reduce the artifacts. But they do appear randomly.</p>
<p>And this is only observed on Windows 7 and 8.1 x64 using the OSGeo4W installer. Haven't tested with standalone builds.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=658692015-11-25T09:02:19ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Looks like it doesn't have anything to do with the amount of layers and it's only on Windows (7 and 8.1 64-bit) from OSGeo4W.<br />Tested on Arch Linux and can't reproduce there, but those are daily builds from the 2_12 branch.</p>
<p>So on Windows, we're able to reproduce the issue by adding a couple layers (from PostgreSQL 9.4.5 and PostGIS 2.2.0) in EPSG:3005 (BC Albers), then enabling OTF to something like EPSG:26910.<br />Then once we start panning and zooming the vertical lines appear like in the screenshot originally attached.</p>
<p>I'll test QGIS Master on Windows from the OSGeo4W installer and report back =)<br />Turning off multi-core rendering will reduce the artifacts and frequency, but not entirely.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=658792015-11-25T13:53:51ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Seeing the same rendering issues in Master (2.13.0, 3e61891) and Current Release (2.12.0, cd9d645) on Windows from OSGeo4W.</p>
<p>I can add a few layers in EPSG:3005, then turn OTF on to anything like EPSG:26910 and vertical lines appear.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=658802015-11-25T15:38:11ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Can you share your data? Has it got Z/M coordinates?</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=658812015-11-25T16:28:23ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>Some of the most culprit layers can be obtained from public FTPs in BC.</p>
<p>Large files though (they're province wide), and I've uploaded them to PostGIS databases using gdal forcing 2D with '-dim 2' because no layers contain z-values but some layers will be used for topology (routing) later, but currently no M values.</p>
<p>Invalid geometries have been repaired too.</p>
<p>Road Network<br /><a class="external" href="ftp://ftp.geobc.gov.bc.ca/sections/outgoing/bmgs/DRA_Public/dgtl_road_atlas.gdb.zip">ftp://ftp.geobc.gov.bc.ca/sections/outgoing/bmgs/DRA_Public/dgtl_road_atlas.gdb.zip</a> (256 MB)</p>
<p>Fresh Water Atlas<br /><a class="external" href="ftp://ftp.geobc.gov.bc.ca/sections/outgoing/bmgs/FWA_Public/FWA_BC.gdb.zip">ftp://ftp.geobc.gov.bc.ca/sections/outgoing/bmgs/FWA_Public/FWA_BC.gdb.zip</a> (3.5 GB)</p>
<p>The Fresh Water Atlas has a good mix of layers that have different types of geometries like lakes/rivers (polygon), stream network (line), wetland (polygon), etc. Load at least those 3 layers (and the road network mpar layer) to see the vertical lines. These layers seem to be doing it the most (maybe it's because they have the most nodes?).</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=659482015-11-30T11:34:36ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>I'm able to reproduce it easily now =)</p>
<p>I add the Digital Road Atlas (layer that ends in mpar) which is in EPSG:3005.</p>
<p>Then I add some layers from <a class="external" href="ftp://ftp2.cits.rncan.gc.ca/pub/geott/frameworkdata/hydrology/cartographic/canada/canaddrcarto_1m_v6-0.shp.zip">ftp://ftp2.cits.rncan.gc.ca/pub/geott/frameworkdata/hydrology/cartographic/canada/canaddrcarto_1m_v6-0.shp.zip</a> (94.4 MB) which are some water course and body layers but in EPSG:4269 so that turns OTF on (projecting to EPSG:3005).</p>
<p>Then I can see the vertical lines from the water course and body layers.</p>
<p>This means you might not have to download the FWA dataset to test it out.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=665562015-12-21T00:11:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/9414/11746.png">11746.png</a> added</li></ul><p>Donovan Cameron wrote:</p>
<blockquote>
<p>I'm able to reproduce it easily now =)</p>
<p>I add the Digital Road Atlas (layer that ends in mpar) which is in EPSG:3005.</p>
<p>Then I add some layers from <a class="external" href="ftp://ftp2.cits.rncan.gc.ca/pub/geott/frameworkdata/hydrology/cartographic/canada/canaddrcarto_1m_v6-0.shp.zip">ftp://ftp2.cits.rncan.gc.ca/pub/geott/frameworkdata/hydrology/cartographic/canada/canaddrcarto_1m_v6-0.shp.zip</a> (94.4 MB) which are some water course and body layers but in EPSG:4269 so that turns OTF on (projecting to EPSG:3005).</p>
<p>Then I can see the vertical lines from the water course and body layers.</p>
<p>This means you might not have to download the FWA dataset to test it out.</p>
</blockquote>
<p>no problems here under Windows 7/QGIS master, see attached image</p>
<p>You can also want to test the linked project + data (to avoid having to download that big datasets referred above).</p>
<p><a class="external" href="https://www.dropbox.com/s/dlphmmqpjvb0xwe/test_11746.zip?dl=0">https://www.dropbox.com/s/dlphmmqpjvb0xwe/test_11746.zip?dl=0</a></p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=669582016-01-06T07:55:20ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>worksforme</i></li></ul><p>closing for lack of feedback, please reopen of necessary.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=669932016-01-07T10:07:26ZDonovan Cameronsault.don@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/9446/vertical_lines_noplugins_nocustomization.png">vertical_lines_noplugins_nocustomization.png</a> added</li></ul><p>Thanks for testing Giovanni.</p>
<p>I've uploaded something similar in 7z and zip - both the same and with the full datasets, but with a project file like yours.</p>
<p><a class="external" href="https://dl.dropboxusercontent.com/u/33592962/outgoing/qgis/qgis_vertical_lines.zip">https://dl.dropboxusercontent.com/u/33592962/outgoing/qgis/qgis_vertical_lines.zip</a> (120MB)<br /><a class="external" href="https://dl.dropboxusercontent.com/u/33592962/outgoing/qgis/qgis_vertical_lines.7z">https://dl.dropboxusercontent.com/u/33592962/outgoing/qgis/qgis_vertical_lines.7z</a> (86MB)</p>
<p>I noticed the vertical lines are really coming out when there are only a couple layers and zoomed out. I attached an image.<br />Or if there are lots of layers, when zoomed in.</p>
<p>I loaded the project in QGIS and QGIS Master (installed from OSGeo4W) using the --noplugins --nocustomization options to be sure it wasn't a rogue plugin or customization.<br />Getting the same result on both Windows 8.1/7 64bit.</p>
<p>Linux is working great where I don't see any artefacts, but there are lots of "Warnings" in the console.<br /><pre>
Warning: Could not resolve property : linearGradient4548
...
</pre></p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=669942016-01-07T10:07:57ZDonovan Cameronsault.don@gmail.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Forgot to reopen so that's what this post is for.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=669952016-01-07T10:49:34ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> deleted (<del><i>worksforme</i></del>)</li></ul> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=674312016-01-19T13:49:16ZDonovan Cameronsault.don@gmail.com
<ul></ul><p>I also noticed that the problem almost completely disappears when "Render layers in parallel using many CPU cores" is turned off.<br />There is still the rare vector off shoot problem from both lines and polygons but now it seems to only show one or two artefacts, and then a pan or refresh gets rid of it for a good while.</p>
<p>I noticed it's also re-drawing the geometries.</p>
<p>So a line that was like ......... now looks like ..../\\....</p>
<p>So it's like it's moving nodes/vertices around for some reason.</p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=675692016-01-23T09:00:35ZMartin Dobiaswonder.sk@gmail.com
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Feedback</i></li></ul><p>I believe this is a duplicate of <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/11441" title="Parallel multi-core rendering glitches with OTF reprojection (Closed)">#11441</a></p>
<p>Please see my comment here and test with newest version of proj4 library: <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/11441#note-15" title="Parallel multi-core rendering glitches with OTF reprojection (Closed)">#11441-15</a></p> QGIS Application - Bug report #11746: Vertical lines appear as artifacts when map has lots of layers turned on.https://issues.qgis.org/issues/11746?journal_id=691132016-03-24T07:40:10ZDonovan Cameronsault.don@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>Hey Martin, seems to still exist in 2.14.0 (Essen), so I'll close this report because it is a duplicate and follow the progress on the other report.</p>