Skip to content


Browse files Browse the repository at this point in the history
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 1855fe9 commit e91e198
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)

// 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 e91e198

Please sign in to comment.