Skip to content
Permalink
Browse files
Workaround for reprojection on the fly bug
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8345 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 13, 2008
1 parent 4fbf60c commit 0343c97
Showing 1 changed file with 3 additions and 0 deletions.
@@ -125,6 +125,9 @@ QgsSpatialRefSys::QgsSpatialRefSys(const QgsSpatialRefSys &srs)
// Assignment operator
QgsSpatialRefSys& QgsSpatialRefSys::operator=(const QgsSpatialRefSys& srs)
{
OSRDestroySpatialReference( mSRS );
mSRS = OSRNewSpatialReference(NULL);

if (&srs != this)
{
mSrsId = srs.mSrsId;

0 comments on commit 0343c97

Please sign in to comment.