Skip to content

Commit

Permalink
Fix user projection not identified as such
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Feb 4, 2020
1 parent c2c9d19 commit 11c39d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ bool QgsCoordinateReferenceSystem::loadFromDatabase( const QString &db, const QS
wkt = statement.columnAsText( 8 );
d->mAxisInvertedDirty = true;

if ( d->mSrsId >= USER_CRS_START_ID && d->mAuthId.isEmpty() )
if ( d->mSrsId >= USER_CRS_START_ID && ( d->mAuthId.isEmpty() || d->mAuthId == QChar( ':' ) ) )
{
d->mAuthId = QStringLiteral( "USER:%1" ).arg( d->mSrsId );
}
Expand Down

0 comments on commit 11c39d3

Please sign in to comment.