We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent fc7ca17 commit 8e5431eCopy full SHA for 8e5431e
src/gui/qgsprojectionselector.cpp
@@ -550,7 +550,11 @@ long QgsProjectionSelector::selectedPostgresSrId()
550
551
QString QgsProjectionSelector::selectedAuthId()
552
{
553
- return getSelectedExpression( "upper(auth_name||':'||auth_id)" );
+ int srid = getSelectedExpression( "srs_id" ).toLong();
554
+ if ( srid >= USER_CRS_START_ID )
555
+ return QString( "USER:%1" ).arg( srid );
556
+ else
557
+ return getSelectedExpression( "upper(auth_name||':'||auth_id)" );
558
}
559
560
0 commit comments