Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix geographicflag loading
Fixes #43556
  • Loading branch information
m-kuhn authored and nyalldawson committed Jun 5, 2021
1 parent 002d76e commit acdcfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit acdcfc3

Please sign in to comment.