Skip to content
Permalink
Browse files

forgot that this is not 'master'

  • Loading branch information
stevenmizuno committed Jan 3, 2018
1 parent 3c82c09 commit 06380c703557fa9ade2e18555841a821be1e114a
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsbookmarks.cpp
@@ -397,9 +397,9 @@ void QgsBookmarks::exportToXml()
// If it's the EPSG code, convert it to internal srid
if ( header == QStringLiteral( "sr_id" ) )
{
QgsCoordinateReferenceSystem crs;
if ( crs.createFromOgcWmsCrs( value ) )
value = QString::number( crs.srsid( ) );
QgsCoordinateReferenceSystem crs = QgsCRSCache::instance()->crsByOgcWmsCrs( value );
if ( crs.isValid() )
value = QString::number( crs.srsid() );
else
value = QString();
}

0 comments on commit 06380c7

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