I'm a new QGIS user running 2.12 Lyon. I've encountered an issue with map canvas units and an unexpected and transparent datum transformation to WGS84. I need help figuring out if I've missed something - Or if the program is or isn't working as designed. To duplicate my issue:
1st test: - Create a point shapefile with a point at Lon: 12 00 00.000 E Lat: 06 30 00.000S - select CRS GCS Camacupa.
- Add it to a new project, which will take CRS GCS Camacupa by default.
- Change the map canvas units to DMS, which obtains the original Lon/Lat values for the point.
- Change the map CRS to PCS Camacupa / UTM zone 33S, which obtains the correct values for Camacupa / UTM zone 33S: X: 168151.91 mE Y: 9280605.47 mN.
- Now change the map canvas units to Degrees, Minutes, Seconds (needs at least two tries, but does work), which obtains values in WGS84: Lon: 06 30 05.370E Lat: 11 59 49.278S. (Externally verified). The GCS default datum transformation parameters are used.
2nd test: - Reproject the layer itself to Camacupa / UTM zone 33S, add the layer to a new map, and change the map canvas units to DMS, which again obtains values in WGS84.
3rd test: - Change the shapefile GCS to WGS84 and add it to a Camacupa / UTM zone 33S map. A datum shift is performed and the resulting Camacupa XYs are correct. Change the units to DMS and the readout reverts to WGS84.
These and other tests of this behavior seem to indicate that if the projected map GCS references a local datum such as Camacupa, the Degree or DMS projected map readout will be transparently transformed to WGS84. My expectation is that the projected map canvas unit Degree or DMS readout would reflect the project CRS GCS. If the program is only intended to provide the correct Lon/Lat coordinates when the map is de-projected, then it should not allow a Degree or DMS readout to be selected when the map is projected. Better yet, it should allow a Degree or DMS readout to be selected for a projected map, and should not perform the shift to WGS84.
Is it me or the program? Has QGIS always done this? In any event, the transparent and unintended datum shift in the map readout could cause some serious confusion.
Change the canvas CRS
should be ok, butChange the shapefile CRS
usingSet Layer CRS
will corrupt your data. Use ` Save As ...` instead.