Bug report #2243
Not accurate extent frame in map overview
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||end of life|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||12303|
If map overview is turned on and docked, the red extent frame is usually not accurate, i.e. either top/bottom bounds are missing until you start resizing.
Minor issue of course, but still.
#2 Updated by Steven Mizuno over 10 years ago
I believe the extent frame is operating correctly. The main intent of the frame is to show what area in the full map data is currently being displayed on the main map when zoomed in.
These are some factors that affect the display position of the rectangle:
1. Aspect ratio of the Overview vs. main map canvas.
2. the Overview shows the full extent exactly for all active layers (within its aspect ratio), but the zoom full extent actually puts a 5% additional buffer so the data are not right on the edge of the map. This will cause the rectangle to be outside the overview if both canvases have the same aspect ratio.
3. The small matter of + or - one pixel due to conversion of floating point values to integer.
A better test is to zoom in until the rectangle is the smallest size it can be, then positioning the rectangle over a feature on the map. That feature will be displayed on the main map.
#3 Updated by Mayeul Kauffmann over 9 years ago
In the example http://trac.osgeo.org/qgis/attachment/ticket/2243/wrong_overview.png, the overview is almost correct if I pan near the North of the areao of interest (Monaca). The more I go in the south, the more it is wrong. Having the pane docked or floating does not change anything.
#9 Updated by Giovanni Manghi over 1 year ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR