Skip to content
Permalink
Browse files

Fix user projection not identified as such

  • Loading branch information
nirvn committed Feb 4, 2020
1 parent 96a7fb8 commit 0815ad487aac44a9cd506f6f470521005f27c347
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -653,7 +653,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 0815ad4

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