Bug report #16846
Map tools operation does not correctly apply datum transformation
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24745|
If one copies selected features from one layer to another with different CRS (e.g. old Swiss system EPSG:21781 to new Swiss system EPSG:2056) the datum transformation is not correctly applied.
This concerns features that are copied with the digitizing tools, with copy (in one layer) and paste in the other layer.
Selection map tool and snapping are also affected.
#1 Updated by Andreas Neumann almost 3 years ago
This is in a project where the project uses EPSG:2056 and where some layers are in EPSG:2056 and some in EPSG:21781
Assuming that the datum transformation for on-the-fly transformation (display) is correctly specified, using the CHENYX06a.gsb file from Swisstopo (https://shop.swisstopo.admin.ch/de/products/geo_software/GIS_info --> free download, but need to confirm terms of usage). You have to download "NTv2 grid CH1903/LV03 -> CH1903+/LV95"
#2 Updated by Giovanni Manghi almost 3 years ago
- Status changed from Open to Feedback
a genuine question... is copy/paste features expected to work between layers with different CRSs? I was remembering that they need to have the same CRS, but may I am wrong?
If you need to transform layers CRSs using NTV2 grids remember that there is this
that also includes Swisstopo grids.
#6 Updated by Denis Rouzaud almost 3 years ago
- Subject changed from Copy and paste of features between two layers does not correctly apply datum transformation to Map tools operation does not correctly apply datum transformation
- Description updated (diff)
- Status changed from Closed to Open
the problem is broader:
- selection map tool