Exception "osgeo::proj::io::FactoryException" is emmited when using the QgsMapCanvas class. #57553
Open
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
What is the bug or the crash?
When I use the class like this "QgsMapCanvas* m_mapCanvas = new QgsMapCanvas;", I got many exceptions.
According invetigation, it occured when calling the following function and process the proj string "+proj=longlat +a=10000 +no_defs +type=crs"
"QgsEllipsoidUtils::EllipsoidParameters QgsEllipsoidUtils::ellipsoidParameters( const QString &e )"
Actually, it is because there are several celestial bodies that match the 10000 radius in proj.db.
How to resolve this problem?
Steps to reproduce the issue
Versions
QGIS-final-3_36_0
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: