Bug report #13754
Selected Multipolygon by Rectangle / "on the fly" reprojection = Only few entities are selected
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21781|
The graphical selection on multipolygons, does not recover all entities when using reprojection "on the fly".
multipolygon CRS 3857 + qgis project CRS 3857 + selection of all entities: works well
multipolygon CRS 3857 + qgis project CRS 2154 ("on the fly" reprojection) + selection of all entities: Only few entities are selected
selection by polygon: use 40 instead of 4 points for selection rectangle for more accurate transformation (fixes #13754)
#1 Updated by Giovanni Manghi about 4 years ago
- Category changed from Map Tools to Map Canvas
- Priority changed from Normal to Severe/Regression
- Target version set to Future Release - High Priority
- Affected QGIS version changed from 2.12.0 to master
This worked as expected until 2.8.3
Actually in 2.8.3 if selecting outside the boundaries of a certain layer CRS QGIS shown this message
CRS Exception: Selection extends beyond layer's coordinate system
that is not anymore the case in qgis > 2.8.3
#10 Updated by Jürgen Fischer over 3 years ago
- Resolution set to fixed/implemented
Giovanni Manghi wrote:
zoom out to ~300.000.000 and try select all features by click and drag.
If you zoom in enough selection seems to work, but not if you zoom out enough.
It only worked when the projections were somewhat alike. The four points of a rectangle around the extent of the layer in EPSG:2154 were transformed to a polygon in EPSG:3857 that excludes Arabia. 0a83f182 adds 9 points to each rectangle edge and improves it. Selection for more "stronger" projections might still "fail" and need more points (e.g. polar and non-polar).