Skip to content
Permalink
Browse files
Fix a problem with an incorrect proj4 string and the associated query
to the spatial reference system database (it was never returning a
result because the proj4 string didn't have '+no_defs' on the end)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5635 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 25, 2006
1 parent 424cccf commit cd4eb6e3f3461080e61d18ef10b828788b0f39b6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsdistancearea.cpp
@@ -154,6 +154,7 @@ bool QgsDistanceArea::setEllipsoid(const QString& ellipsoid)
// get spatial ref system for ellipsoid
QString proj4 = "+proj=longlat +ellps=";
proj4 += ellipsoid;
proj4 += " +no_defs";
QgsSpatialRefSys destSRS;
destSRS.createFromProj4(proj4);

0 comments on commit cd4eb6e

Please sign in to comment.