Skip to content
Permalink
Browse files

Ensure ellipsoid is correctly set for new projects

  • Loading branch information
nyalldawson committed Nov 29, 2017
1 parent e4ce623 commit 29bfb10f62b5912fe15d191bfdfd7ecd850ef63a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -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

0 comments on commit 29bfb10

Please sign in to comment.
You can’t perform that action at this time.