Skip to content
Permalink
Browse files

Fix user projection not identified as such

  • Loading branch information
github-actions authored and nyalldawson committed Feb 4, 2020
1 parent c2c9d19 commit 11c39d3ed9d6e7f7d72ee4493777003f61bc2d8d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -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 );
}

0 comments on commit 11c39d3

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