Bug report #13957
[Project Properties] certain ellipsoids selected cause transform initialization failure
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||end of life|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21972|
In Project Properties, General, Ellipsoid - selecting some ellipsoids give huge values in Identify derived, both area and perimeter for polygons, and length for lines.
It appears that the transform does not initialize, according to the debug logger. However, the user is not informed of the failure.
Some ellipsoids that don't work: IGNF:ELG..., the various planet/moon names (not an exhaustive list)
I compared the list of ellipsoids in PROJ.4 (proj -le) to the list in tbl_ellipsoid and found by testing various ellipsoids that an ellipsoid in tbl_ellipsoid that does not have a PROJ.4 entry produces a transform initialization failure, therefore the very large area values. The user CRS that results shows +ellps= with the acronym from tbl_ellipsoid.
I have tried the user defined CRS (the projection shows longlat) that resulted from the ellipsoid choice as a project CRS (OTF on) and find that there appears to be no difference in the displayed map, aside from a very large Scale value displayed. A feature set that was in UTM most likely would have been stretched horizontally if the project CRS actually was transforming the geometries to longlat.
I am rating the priority as High because of the silent transform failure.
#5 Updated by Steven Mizuno over 2 years ago
- Status changed from Closed to Reopened
- Resolution deleted (
I am reopening this because certain ellipsoids are still not initializing properly. Specifically, the ellipsoid WGS84 (no space in the name) is not working correctly. See #17296 . This shows as Clarke 1866 when you return to selecting an ellipsoid.
Further testing shows that any ellipsoid in tbl_ellipsoid that has an acronym beginning with IGNF:ELG is still not correctly initializing. These all will show Clarke 1866 as the ellipsoid when you return to selecting an ellipsoid.
I detect a possible problem with the value in the acronym column when there is a colon ':' in the value.
#8 Updated by Giovanni Manghi over 1 year ago
- Status changed from Reopened to Closed
- Resolution set to end of life
End of life notice: QGIS 2.18 LTR