Skip to content

Commit

Permalink
I am commenting the ellipsoid check out for now because of ticket #1146
Browse files Browse the repository at this point in the history
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
  • Loading branch information
timlinux committed Jul 10, 2008
1 parent d8fcb63 commit e351f88
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/app/qgscustomprojectiondialog.cpp
Expand Up @@ -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;
//}


//
Expand Down

0 comments on commit e351f88

Please sign in to comment.