We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f7365 commit afe3c30Copy full SHA for afe3c30
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