[QGIS Commit] r8748 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Jul 10 05:01:34 EDT 2008
Author: timlinux
Date: 2008-07-10 05:01:33 -0400 (Thu, 10 Jul 2008)
New Revision: 8748
Modified:
trunk/qgis/src/app/qgscustomprojectiondialog.cpp
Log:
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.
Modified: trunk/qgis/src/app/qgscustomprojectiondialog.cpp
===================================================================
--- trunk/qgis/src/app/qgscustomprojectiondialog.cpp 2008-07-09 14:12:12 UTC (rev 8747)
+++ trunk/qgis/src/app/qgscustomprojectiondialog.cpp 2008-07-10 09:01:33 UTC (rev 8748)
@@ -778,12 +778,20 @@
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;
+ //}
//
More information about the QGIS-commit
mailing list