Skip to content
Browse files

fixed handling of projections not stored in qgis database.

now the projection string shouldn't be lost.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 22, 2009
1 parent 6aea807 commit 1db6c93b9a128cddf1bedffbde83623bdbfa9d09
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -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)

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

0 comments on commit 1db6c93

Please sign in to comment.
You can’t perform that action at this time.