Skip to content
Permalink
Browse files
Fix geographicflag loading
Fixes #43556
  • Loading branch information
m-kuhn authored and nyalldawson committed Jun 7, 2021
1 parent 8a24e36 commit 3c7e380ab6901d22ffd4cf88bd56a87272bd8301
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscoordinatereferencesystem.cpp
@@ -2105,7 +2105,7 @@ bool QgsCoordinateReferenceSystem::readXml( const QDomNode &node )
d->mEllipsoidAcronym = node.toElement().text();

node = srsNode.namedItem( QStringLiteral( "geographicflag" ) );
d->mIsGeographic = node.toElement().text().compare( QLatin1String( "true" ) );
d->mIsGeographic = node.toElement().text() == QLatin1String( "true" );

d->mWktPreferred.clear();

0 comments on commit 3c7e380

Please sign in to comment.