We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 040fc3f commit 3c57584Copy full SHA for 3c57584
src/core/qgsspatialrefsys.cpp
@@ -93,11 +93,11 @@ bool QgsSpatialRefSys::createFromOgcWmsCrs(QString theCrs)
93
{
94
QStringList parts = theCrs.split(":");
95
96
- if (parts.at(0) == "EPSG")
+ if(parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0)
97
98
createFromEpsg( parts.at(1).toLong() );
99
}
100
- else if (parts.at(0) == "CRS")
+ else if(parts.at(0).compare("CRS", Qt::CaseInsensitive) == 0)
101
102
if (parts.at(1) == "84")
103
0 commit comments