Skip to content

Commit 29bfb10

Browse files
committedNov 29, 2017
Ensure ellipsoid is correctly set for new projects
1 parent e4ce623 commit 29bfb10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5032,6 +5032,7 @@ void QgisApp::fileNew( bool promptToSaveFlag, bool forceBlank )
50325032
QgsCoordinateReferenceSystem srs = QgsCoordinateReferenceSystem::fromOgcWmsCrs( defCrs );
50335033
// write the projections _proj string_ to project settings
50345034
prj->setCrs( srs );
5035+
prj->setEllipsoid( srs.ellipsoidAcronym() );
50355036
prj->setDirty( false );
50365037

50375038
/* New Empty Project Created

0 commit comments

Comments
 (0)
Please sign in to comment.