Skip to content

Commit

Permalink
Ensure ellipsoid is correctly set for new projects
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 29, 2017
1 parent e4ce623 commit 29bfb10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -5032,6 +5032,7 @@ void QgisApp::fileNew( bool promptToSaveFlag, bool forceBlank )
QgsCoordinateReferenceSystem srs = QgsCoordinateReferenceSystem::fromOgcWmsCrs( defCrs );
// write the projections _proj string_ to project settings
prj->setCrs( srs );
prj->setEllipsoid( srs.ellipsoidAcronym() );
prj->setDirty( false );

/* New Empty Project Created
Expand Down

0 comments on commit 29bfb10

Please sign in to comment.