Skip to content

Commit e351f88

Browse files
author
timlinux
committed
I am commenting the ellipsoid check out for now because of ticket #1146
In 1.0.0 we should consider doing more sophisticated checks or just removing this commented block entirely. It is possible to set the parameters for the earths figure in ways other than using ellps (which is a convenience function in proj). For example the radius and flattenning can be specified and various other parameter permutations. See the proj manual section entitled 'Specifying the Earths Figure' for more details. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8748 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d8fcb63 commit e351f88

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/app/qgscustomprojectiondialog.cpp

+14-6
Original file line numberDiff line numberDiff line change
@@ -778,12 +778,20 @@ void QgsCustomProjectionDialog::on_pbnSave_clicked()
778778
return;
779779
}
780780

781-
if ( myEllipsoidAcronym.isNull() )
782-
{
783-
QMessageBox::information( this, tr("QGIS Custom Projection"),
784-
tr("This proj4 ellipsoid definition is not valid. Please add a ellips= clause before pressing save.") );
785-
return;
786-
}
781+
/** I am commenting this check out for now because of ticket #1146
782+
* In 1.0.0 we should consider doing more sophisticated checks or just
783+
* removing this commented block entirely. It is possible to set the
784+
* parameters for the earths figure in ways other than using ellps (which
785+
* is a convenience function in proj). For example the radius and flattenning
786+
* can be specified and various other parameter permutations. See the proj
787+
* manual section entitled 'Specifying the Earths Figure' for more details.
788+
* Tim Sutton */
789+
//if ( myEllipsoidAcronym.isNull() )
790+
//{
791+
// QMessageBox::information( this, tr("QGIS Custom Projection"),
792+
// tr("This proj4 ellipsoid definition is not valid. Please add a ellips= clause before pressing save.") );
793+
// return;
794+
//}
787795

788796

789797
//

0 commit comments

Comments
 (0)