#1759 closed bug (fixed)
Grids seems to miss lines
Reported by: | lutra | Owned by: | |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | MapCanvas | Version: | Trunk |
Keywords: | Cc: | pcav | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
When I create grids with ftools, and then are added to the canvas, they seems to miss lines, but only at small scales. Zoom in and the problem goes away.
See attached image.
Attachments (2)
Change History (15)
by , 15 years ago
Attachment: | Screenshot-2.png added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Component: | Plugins → MapCanvas |
---|---|
Owner: | changed from | to
Summary: | Tools (Ftools): grids seems to miss lines → Grids seems to miss lines |
I finally tested a grid that wasn't made with ftools and as the behaviour confirms it isn't definitely a ftools problem.
Changing the title and the component.
comment:3 by , 15 years ago
Owner: | removed |
---|
follow-up: 5 comment:4 by , 14 years ago
Platform: | Debian → All |
---|
still true on the lastest trunk code, but it seems to happens only on polygon vector grids, now on line grids I cannot reproduce the problem.
follow-up: 7 comment:5 by , 14 years ago
Replying to lutra:
still true on the lastest trunk code, but it seems to happens only on polygon vector grids, now on line grids I cannot reproduce the problem.
using the symbology-ng? In my current example I can make a line disappear by switching from symbology-ng to the old implementation.
follow-up: 8 comment:6 by , 14 years ago
Just in case, reproducible dataset can be found at http://www.burhum.com/files/render_bug.zip
comment:7 by , 14 years ago
using the symbology-ng? In my current example I can make a line disappear by switching from symbology-ng to the old implementation.
No, I'm pretty sure that the tests I made were done not using the new symbology.
comment:8 by , 14 years ago
Replying to rburhum:
Just in case, reproducible dataset can be found at http://www.burhum.com/files/render_bug.zip
It confirms my first observations. If you transform this polygon grid into lines it all shows fine.
comment:9 by , 14 years ago
with the new symbology things get better, nevertheless at low scales the grid appears not regular (see attached image). Zooming in it turns quickly into a correct spacing.
by , 14 years ago
Attachment: | Screenshot-grid.png added |
---|
comment:10 by , 14 years ago
You are correct lutra in the fact that the error only occurs in polygons and not lines.
This error also occurs in version 1.0.2-Kore (what I am using on Windows).
The problem for me here is that I am using the polygons for analysis and the color is based on attribution. Sometimes, the grids will be merged by the user, so I cannot tell whether the grid was merged or if Quantum is drawing it correctly at this scale. I have to zoom or identify the feature to see if that is true. Honestly, more than a "minor: annoyance" and more of "major: does not work as expected"
comment:11 by , 14 years ago
Priority: | minor: annoyance → major: does not work as expected |
---|
Try qgis 1.4 and use the new symbology and see if things works better for you.
comment:12 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This might be the Qt issue http://bugreports.qt.nokia.com/browse/QTBUG-5213 #5213.
r12833 uses QPainter::drawPath()
that is having the issue only for polygons with holes and QPainter::drawPolygon()
for polygons without holes.
Maybe is not a ftools problem, maybe is a MapCanvas one. Reassign at wish to the proper component.