Skip to content
Permalink
Browse files
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@8748 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 10, 2008
1 parent 638b178 commit ee275abfb59d9a531c7d85b75cdeb5613e57e905
Showing with 14 additions and 6 deletions.
  1. +14 −6 src/app/qgscustomprojectiondialog.cpp
@@ -778,12 +778,20 @@ void QgsCustomProjectionDialog::on_pbnSave_clicked()
return;
}

if ( myEllipsoidAcronym.isNull() )
{
QMessageBox::information( this, tr("QGIS Custom Projection"),
tr("This proj4 ellipsoid definition is not valid. Please add a ellips= clause before pressing save.") );
return;
}
/** I am commenting this 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.
* Tim Sutton */
//if ( myEllipsoidAcronym.isNull() )
//{
// QMessageBox::information( this, tr("QGIS Custom Projection"),
// tr("This proj4 ellipsoid definition is not valid. Please add a ellips= clause before pressing save.") );
// return;
//}


//

0 comments on commit ee275ab

Please sign in to comment.