Skip to content

Commit

Permalink
Fix geographicflag loading
Browse files Browse the repository at this point in the history
Fixes #43556
  • Loading branch information
m-kuhn committed Jun 5, 2021
1 parent 330f73b commit e187d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/proj/qgscoordinatereferencesystem.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ bool QgsCoordinateReferenceSystem::readXml( const QDomNode &node )
d->mEllipsoidAcronym = node.toElement().text(); d->mEllipsoidAcronym = node.toElement().text();


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


d->mWktPreferred.clear(); d->mWktPreferred.clear();


Expand Down

0 comments on commit e187d7f

Please sign in to comment.