Bug report #926
identify tool: features highlited wrong when a polygon inside a polygon is presnt
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10985|
Look at the attached screendumps.
Black arrow points at the polygon being queried.
identify_bad.png shows how it is now. This is wrong - although the smaller polygon inside is not being queried, it looks like if it was too.
identify_ok.png shows how it should look like - it is clear which polygon is queried actually.
#2 Updated by Tim Sutton over 14 years ago
I had a detailed look at this. The issue lies inside QgsRubberBand. The polygon drawing routine in that class iterates over multipolygons, but not rings. It will be possible to add this functionality (and I agree we should) but I dont think its a good idea to make the invasive changes required right at the end of code freeze / on the point of release. I'm moving this issue over to milestone 1.0.0 and I'll attend to it in the next release cycle.
#4 Updated by Giovanni Manghi over 13 years ago
I noticed that by selecting the proper row (the one of the inner polygon) in the attribute table, it possible to select just the inner or the outer polygon. The select tools does not behave the same, so I guess this is still to fix. Nevertheless should be easy. Pushing the milestone to 1.2.
#7 Updated by Giovanni Manghi almost 13 years ago
- Status changed from Open to Closed
- Resolution set to fixed
I believe that this can be closed now. See attached screenshots to see how it worls the identify tool now.
Clicking on the outer polygon it kind of highlight also the inner one, but the result window do not show it. Moreover if you click again on the inner polygon it will get a more dense color and the result appear in the result windows.
Then if you click on the proper result in the result window you'll get highlighted just the inner one.
#8 Updated by Ivan Mincik almost 12 years ago
- Status changed from Closed to Feedback
- Resolution deleted (
I am reopening this ticket, because of the behavior of 'identify tool' in current trunk which is the same as in 'identify_bad.png' picture.
Ticket #2190 is duplicate to this issue.
There was also thread in mailinglist r1.