On 2022-04-11 14:38, Greg Troxel via QGIS-Developer wrote:

Thanks Greg,

I think we should never copy the characters, only numbers ( well, except when using W/S/E/N :-) )..

I also understood from somebody that when using latlon coordinates the minus sign is actually redundant, as you should use the WSEN?

Part of the underlying trouble is that in qgis/proj we blur:
  datum
  projection
into
  CRS
except that some CRS are datum only, and some are datum+projection.

But isn't that the 'difference' in what QGIS (in the CRS dialog) calls 'Geographic Coordinate Systems' vs 'Projected Coordinate Systems'?

So: that would make (?): if crs.isGeographic() [0] we should/could use WSEN, and if not then we should NOT use WSEN (and optionally x/y if that is more clear)... except when copying coordinates, because that would mess up parsers :-)

Regards,

Richard

[0] https://qgis.org/pyqgis/master/core/QgsCoordinateReferenceSystem.html?#qgis.core.QgsCoordinateReferenceSystem.isGeographic
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to