Skip to content

Commit

Permalink
ported r10398 to 1.0 branch
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10399 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 22, 2009
1 parent 8ec0a01 commit 277ce5d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -430,8 +430,14 @@ bool QgsCoordinateReferenceSystem::createFromProj4( const QString theProj4String
}
}
}

// if we failed to look up the projection in database, don't worry. we can still use it :)
if (!mIsValidFlag)
{
setProj4String(theProj4String);
}


// NOTE: if its still empty after all the above steps then, the projection string is lost. Is that bad?
return mIsValidFlag;
}

Expand Down

0 comments on commit 277ce5d

Please sign in to comment.