-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertical lines appear as artifacts when map has lots of layers turned on. #19979
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Donovan Cameron (@saultdon) Been doing some more testing and it looks like it doesn't matter how many layers are in the project. Even a single layer will do this when the "Render layers in parallel using many CPU cores" option is enabled. Disabling that option fixes the issue. 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. And this is only observed on Windows 7 and 8.1 x64 using the OSGeo4W installer. Haven't tested with standalone builds. |
Author Name: Donovan Cameron (@saultdon) 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. 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. I'll test QGIS Master on Windows from the OSGeo4W installer and report back =) |
Author Name: Nyall Dawson (@nyalldawson) Can you share your data? Has it got Z/M coordinates?
|
Author Name: Donovan Cameron (@saultdon) Some of the most culprit layers can be obtained from public FTPs in BC. 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. Invalid geometries have been repaired too. Road Network Fresh Water Atlas 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?). |
Author Name: Donovan Cameron (@saultdon) I'm able to reproduce it easily now =) I add the Digital Road Atlas (layer that ends in mpar) which is in EPSG:3005. Then I add some layers from ftp://ftp2.cits.rncan.gc.ca/pub/geott/frameworkdata/hydrology/cartographic/canada/canaddrcarto_1m_v6-0.shp.zip (94.4 MB) which are some water course and body layers but in EPSG:4269 so that turns OTF on (projecting to EPSG:3005). Then I can see the vertical lines from the water course and body layers. This means you might not have to download the FWA dataset to test it out. |
Author Name: Giovanni Manghi (@gioman) Donovan Cameron wrote:
no problems here under Windows 7/QGIS master, see attached image You can also want to test the linked project + data (to avoid having to download that big datasets referred above). https://www.dropbox.com/s/dlphmmqpjvb0xwe/test_11746.zip?dl=0
|
Author Name: Giovanni Manghi (@gioman) closing for lack of feedback, please reopen of necessary.
|
Author Name: Donovan Cameron (@saultdon) Thanks for testing Giovanni. I've uploaded something similar in 7z and zip - both the same and with the full datasets, but with a project file like yours. https://dl.dropboxusercontent.com/u/33592962/outgoing/qgis/qgis_vertical_lines.zip (120MB) I noticed the vertical lines are really coming out when there are only a couple layers and zoomed out. I attached an image. 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. Linux is working great where I don't see any artefacts, but there are lots of "Warnings" in the console.
|
Author Name: Donovan Cameron (@saultdon) Forgot to reopen so that's what this post is for.
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Donovan Cameron (@saultdon) I also noticed that the problem almost completely disappears when "Render layers in parallel using many CPU cores" is turned off. I noticed it's also re-drawing the geometries. So a line that was like ......... now looks like ..../\.... So it's like it's moving nodes/vertices around for some reason. |
Author Name: Martin Dobias (@wonder-sk) I believe this is a duplicate of #19717 Please see my comment here and test with newest version of proj4 library: #19717 (comment)
|
Author Name: Donovan Cameron (@saultdon) 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.
|
Author Name: Donovan Cameron (@saultdon)
Original Redmine Issue: 11746
Affected QGIS version: 2.6.0
Redmine category:map_canvas
I've been noticing on Windows (haven't seen this problem in Linux), is that for maps that have lots of layers (50+) vertical lines start to appear from various layers. Always random and doesn't affect specific layers or different scales.
This happens to mostly to lines and polygons. Not sure if it's relevant but the layers are from a PostGIS database.
Feature simplification is turned off, tried testing with multi-core rendering toggled on/off as well.
Even though layers are turned on, most are scale based.
Installed QGIS 2.6 with OSGeo4W installer.
Related issue(s): #19717 (relates)
Redmine related issue(s): 11441
The text was updated successfully, but these errors were encountered: